Code

tutorial: revise index introduction
[git.git] / git-commit.sh
index 3656d607d5b91d8d125b5a72b6a2a00aee512618..292cf967e3cbc77e7b49eb7252a756194e917418 100755 (executable)
@@ -371,7 +371,7 @@ t,)
                if test -z "$initial_commit"
                then
                        cp "$THIS_INDEX" "$TMP_INDEX"
-                       GIT_INDEX_FILE="$TMP_INDEX" git-read-tree -m HEAD
+                       GIT_INDEX_FILE="$TMP_INDEX" git-read-tree -i -m HEAD
                else
                        rm -f "$TMP_INDEX"
                fi || exit