X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-commit.sh;h=9e0959aec06c4d4d7b4f14660c26bc9dd941f111;hb=b568a503def81f49704ba94f5a822d523022102a;hp=292cf967e3cbc77e7b49eb7252a756194e917418;hpb=18acb3e6c76b42d109cac956d63a1c709b0d76b2;p=git.git diff --git a/git-commit.sh b/git-commit.sh index 292cf967e..9e0959aec 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -370,8 +370,8 @@ t,) # the same way. if test -z "$initial_commit" then - cp "$THIS_INDEX" "$TMP_INDEX" - GIT_INDEX_FILE="$TMP_INDEX" git-read-tree -i -m HEAD + GIT_INDEX_FILE="$THIS_INDEX" \ + git-read-tree --index-output="$TMP_INDEX" -i -m HEAD else rm -f "$TMP_INDEX" fi || exit