fetch-pack: eliminate spurious error messages
[gitweb.git] / t / t4202-log.sh
index 31869dc0dbcb5f79e4e0f5e307a4d8f617aadbe4..0baaad2a240d401a29b341e1bf01173842a2ab54 100755 (executable)
@@ -806,4 +806,11 @@ test_expect_success 'log --graph with diff and stats' '
        test_i18ncmp expect actual.sanitized
 '
 
+test_expect_success 'dotdot is a parent directory' '
+       mkdir -p a/b &&
+       ( echo sixth && echo fifth ) >expect &&
+       ( cd a/b && git log --format=%s .. ) >actual &&
+       test_cmp expect actual
+'
+
 test_done