diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-11-07 14:45:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-08 10:36:53 -0800 |
commit | 274a5c06d525da8c9720ae60454fba6779523c52 (patch) | |
tree | a7ad758e0777c7e7fa6486243b8b6edc2de129e1 /t/t7600-merge.sh | |
parent | ae8e4c9ce10ea9439a88b79a40aeff4696d40416 (diff) | |
download | git-274a5c06d525da8c9720ae60454fba6779523c52.tar.gz |
merge: record tag objects without peeling in MERGE_HEAD
Otherwise, "git commit" wouldn't have a way to tell that we were in the
middle of merging an annotated or signed tag, not a plain commit, after
"git merge" stops to ask the user to resolve conflicts.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7600-merge.sh')
-rwxr-xr-x | t/t7600-merge.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t7600-merge.sh b/t/t7600-merge.sh index b91d022bc6..5d8c428543 100755 --- a/t/t7600-merge.sh +++ b/t/t7600-merge.sh @@ -96,7 +96,11 @@ verify_parents () { verify_mergeheads () { printf '%s\n' "$@" >mergehead.expected && - test_cmp mergehead.expected .git/MERGE_HEAD + while read sha1 rest + do + git rev-parse $sha1 + done <.git/MERGE_HEAD >mergehead.actual && + test_cmp mergehead.expected mergehead.actual } verify_no_mergehead () { |