Fix cloning (memory corruption)
[git.git] / git-commit.sh
index 5bdee54..96a884f 100755 (executable)
@@ -99,7 +99,7 @@ t,*)
 ,0)
        ;;
 *)
-       git-diff-files --name-only -z "$@" |
+       git-diff-files --name-only -z -- "$@" |
        git-update-index --remove -z --stdin
        ;;
 esac || exit 1