Code

commit: show interesting ident information in summary
[git.git] / t / t7501-commit.sh
index a603f6d21a61df197256ea91bfb38c1f4e45c5e8..0166d35e51fa60f7fb6e8f5f1fa94a103108b896 100755 (executable)
@@ -117,7 +117,11 @@ test_expect_success \
 test_expect_success \
        "overriding author from command line" \
        "echo 'gak' >file && \
-        git commit -m 'author' --author 'Rubber Duck <rduck@convoy.org>' -a"
+        git commit -m 'author' --author 'Rubber Duck <rduck@convoy.org>' -a >output 2>&1"
+
+test_expect_success \
+       "commit --author output mentions author" \
+       "grep Rubber.Duck output"
 
 test_expect_success PERL \
        "interactive add" \