graph.c: infinite loop in git whatchanged --graph -m
[gitweb.git] / t / t4202-log.sh
index 71be59d446f773c4b567f00c469ac26225d11cb8..14f73e3bac9a7416dbf26255c76053d8dbb5cb4b 100755 (executable)
@@ -264,6 +264,16 @@ test_expect_success 'log --graph with merge' '
        test_cmp expect actual
 '
 
+test_expect_success 'log --raw --graph -m with merge' '
+       git log --raw --graph --oneline -m master | head -n 500 >actual &&
+       grep "initial" actual
+'
+
+test_expect_success 'diff-tree --graph' '
+       git diff-tree --graph master^ | head -n 500 >actual &&
+       grep "one" actual
+'
+
 cat > expect <<\EOF
 *   commit master
 |\  Merge: A B