From d5a72fd622ecedaea272cd6292abb7138a49e460 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 5 May 2005 16:07:56 -0700 Subject: [PATCH] Fix git-resolve-script. I'd stupidly forgotten one merge_head -> merge conversion, and all my tests were for the fast-forward case that never triggered the bug. --- git-resolve-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-resolve-script b/git-resolve-script index c04c0307b..c2f7a6e24 100644 --- a/git-resolve-script +++ b/git-resolve-script @@ -49,7 +49,7 @@ if [ $? -ne 0 ]; then merge_msg="Automatic merge of $merge_repo" result_tree=$(git-write-tree) || exit 1 fi -result_commit=$(echo "$merge_msg" | git-commit-tree $result_tree -p $head -p $merge_head) +result_commit=$(echo "$merge_msg" | git-commit-tree $result_tree -p $head -p $merge) echo "Committed merge $result_commit" echo $result_commit > .git/HEAD git-checkout-cache -f -a && git-update-cache --refresh -- 2.26.2