Merge with gitk --parents change.
[git.git] / git-commit-script
index f6cd75f..15d0391 100755 (executable)
@@ -85,11 +85,13 @@ tt*)
   die "Only one of -c/-C/-F/-m can be used." ;;
 esac
 
-case "$all" in
-t)
+case "$all,$#" in
+t,*)
        git-diff-files --name-only -z |
        xargs -0 git-update-cache -q --
        ;;
+,0)
+       ;;
 *)
        git-diff-files --name-only -z "$@" |
        xargs -0 git-update-cache -q --