git-svn log: include commit log for the smallest revision in a range
[gitweb.git] / t / t7501-commit.sh
index 4dc35bdf558750ef41f229fbbb5dbef0a05401c5..9dba104b1f8bf9125f1a947a2fd115b684a94095 100644 (file)
@@ -33,6 +33,16 @@ test_expect_failure \
        "invalid options 2" \
        "git-commit -C HEAD -m illegal"
 
+test_expect_failure \
+       "using paths with -a" \
+       "echo King of the bongo >file &&
+       git-commit -m foo -a file"
+
+test_expect_failure \
+       "using paths with --interactive" \
+       "echo bong-o-bong >file &&
+       echo 7 | git-commit -m foo --interactive file"
+
 test_expect_failure \
        "using invalid commit with -C" \
        "git-commit -C bogus"