diff options
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-x | git-commit.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-commit.sh b/git-commit.sh index 41955e8e6..27aea80a4 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -92,10 +92,13 @@ tt*) esac case "$all,$#" in -t,*) +t,0) git-diff-files --name-only -z | git-update-index --remove -z --stdin ;; +t,*) + die "Cannot use -a and explicit files at the same time." + ;; ,0) ;; *) |