path: root/
diff options
authorBjörn Steinbrink <>2007-11-05 19:36:33 (GMT)
committerJunio C Hamano <>2007-11-06 05:36:31 (GMT)
commit34cb704a9b8b45ff3e1342678c5892e1ee6e27f5 (patch)
treeeabac2fbc639592cc1f3c4307407fc658f3415f6 /
parentd8e21ba8967f43b61fc2fd50dd749ff8f0c6592a (diff)
git-34cb704a9b8b45ff3e1342678c5892e1ee6e27f5.tar.bz2 Fix usage checks regarding paths given when they do not make sense
The checks that looked for paths given to git-commit in addition to --all or --interactive expected only 3 values, while the case statement actually provides 4, so the check was never triggered. The bug was introduced in 6cbf07efc5702351897dee4742525c9b9f7828ac when the case statement was extended to handle --interactive. Signed-off-by: Björn Steinbrink <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to '')
1 files changed, 2 insertions, 2 deletions
diff --git a/ b/
index ab43217..5e3908f 100755
--- a/
+++ b/
@@ -322,9 +322,9 @@ unset only
case "$all,$interactive,$also,$#" in
die "Cannot use -a, --interactive or -i at the same time." ;;
die "Paths with -a does not make sense." ;;
die "Paths with --interactive does not make sense." ;;
die "No paths with -i does not make sense." ;;