Code

git-commit: Add tests for invalid usage of -a/--interactive with paths
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Mon, 12 Nov 2007 15:15:39 +0000 (16:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2007 02:23:32 +0000 (18:23 -0800)
commit9d87442f03c9e3fea7e24e2821fc0342f8efe1d6
treef52e75598a9e24e28f1d5ba225d302aa3dbdf8bc
parent34cb704a9b8b45ff3e1342678c5892e1ee6e27f5
git-commit: Add tests for invalid usage of -a/--interactive with paths

git-commit was/is broken in that it accepts paths together with -a or
--interactive, which it shouldn't. There tests check those usage errors.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7501-commit.sh