Code

Merge branch 'rv/maint-index-commit' into maint
[git.git] / git-commit.sh
index fdaa019e8f0bdcb222043352068ca2ba6f064cf9..1c0c6b9e418014cd326d8373f54c38286d2e1239 100755 (executable)
@@ -322,9 +322,9 @@ unset only
 case "$all,$interactive,$also,$#" in
 *t,*t,*)
        die "Cannot use -a, --interactive or -i at the same time." ;;
-t,,[1-9]*)
+t,,,[1-9]*)
        die "Paths with -a does not make sense." ;;
-,t,[1-9]*)
+,t,,[1-9]*)
        die "Paths with --interactive does not make sense." ;;
 ,,t,0)
        die "No paths with -i does not make sense." ;;