X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-commit.sh;h=9e0959aec06c4d4d7b4f14660c26bc9dd941f111;hb=b568a503def81f49704ba94f5a822d523022102a;hp=3656d607d5b91d8d125b5a72b6a2a00aee512618;hpb=8509fed75d576023f5f2db8542fad102fcc62d4d;p=git.git diff --git a/git-commit.sh b/git-commit.sh index 3656d607d..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 -m HEAD + GIT_INDEX_FILE="$THIS_INDEX" \ + git-read-tree --index-output="$TMP_INDEX" -i -m HEAD else rm -f "$TMP_INDEX" fi || exit