X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-resolve-script;h=0b04a5f6af8b97065cfe812509f2d96a600825ab;hb=479346adc5ebb099121063d4c06da30093ed9b3b;hp=da79a973eaafa1b8b7e21b719698762896e13569;hpb=5b1ea09de1eb2ae190169ca77e16a79de0e1ede7;p=git.git diff --git a/git-resolve-script b/git-resolve-script index da79a973..0b04a5f6 100644 --- a/git-resolve-script +++ b/git-resolve-script @@ -57,4 +57,5 @@ fi result_commit=$(echo "$merge_msg" | git-commit-tree $result_tree -p $head -p $merge) echo "Committed merge $result_commit" echo $result_commit > "$GIT_DIR"/HEAD -git-diff-tree -p ORIG_HEAD HEAD | git-apply --stat +git-diff-tree -p $head $result_commit | git-apply --stat +rm $GIT_DIR/ORIG_HEAD $GIT_DIR/MERGE_HEAD