mirror of
https://github.com/git/git
synced 2024-10-06 00:29:28 +00:00
subtree: use "^{commit}" instead of "^0"
They are synonyms. Both are used in the file. ^{commit} is clearer, so "standardize" on that. Signed-off-by: Luke Shumaker <lukeshu@datawire.io> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
22d5507493
commit
bbffb02383
|
@ -316,7 +316,7 @@ find_latest_squash () {
|
|||
main="$b"
|
||||
;;
|
||||
git-subtree-split:)
|
||||
sub="$(git rev-parse "$b^0")" ||
|
||||
sub="$(git rev-parse "$b^{commit}")" ||
|
||||
die "could not rev-parse split hash $b from commit $sq"
|
||||
;;
|
||||
END)
|
||||
|
@ -363,7 +363,7 @@ find_existing_splits () {
|
|||
main="$b"
|
||||
;;
|
||||
git-subtree-split:)
|
||||
sub="$(git rev-parse "$b^0")" ||
|
||||
sub="$(git rev-parse "$b^{commit}")" ||
|
||||
die "could not rev-parse split hash $b from commit $sq"
|
||||
;;
|
||||
END)
|
||||
|
|
Loading…
Reference in a new issue