submodule test invocation: only pass additional arguments
[gitweb.git] / t / t4202-log.sh
index dbed3efeeeeee6ecb4c6cbe7848c18bd684bb2e1..c44c4337f8fc5c5c1631cbbfe2b5528b88834b87 100755 (executable)
@@ -725,6 +725,18 @@ test_expect_success 'log.decorate configuration' '
 
 '
 
+test_expect_success 'log.decorate config parsing' '
+       git log --oneline --decorate=full >expect.full &&
+       git log --oneline --decorate=short >expect.short &&
+
+       test_config log.decorate full &&
+       test_config log.mailmap true &&
+       git log --oneline >actual &&
+       test_cmp expect.full actual &&
+       git log --oneline --decorate=short >actual &&
+       test_cmp expect.short actual
+'
+
 test_expect_success TTY 'log output on a TTY' '
        git log --oneline --decorate >expect.short &&