clone --single: limit the fetch refspec to fetched branch
[gitweb.git] / t / t4202-log.sh
index 71be59d446f773c4b567f00c469ac26225d11cb8..45058cc8cbe038edfb7bb953d9e10067eb5dc4b6 100755 (executable)
@@ -806,4 +806,11 @@ test_expect_success 'log --graph with diff and stats' '
        test_cmp 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