Skip to content

Commit

Permalink
Fix git-resolve-script.
Browse files Browse the repository at this point in the history
I'd stupidly forgotten one merge_head -> merge conversion, and
all my tests were for the fast-forward case that never triggered
the bug.
  • Loading branch information
Linus Torvalds committed May 5, 2005
1 parent db823d4 commit d5a72fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-resolve-script
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5a72fd

Please sign in to comment.