Merge branch 'jc/bundle-complete-notice' into maint
[gitweb.git] / t / t6006-rev-list-format.sh
index a01d2445022ecb82fe0e31739527339fa02e44a5..f94f0c48e6337f6bd718b4fc6859a52411e09326 100755 (executable)
@@ -283,4 +283,11 @@ test_expect_success 'oneline with empty message' '
        test_line_count = 5 testg.txt
 '
 
+test_expect_success 'single-character name is parsed correctly' '
+       git commit --author="a <a@example.com>" --allow-empty -m foo &&
+       echo "a <a@example.com>" >expect &&
+       git log -1 --format="%an <%ae>" >actual &&
+       test_cmp expect actual
+'
+
 test_done