diff-highlight: correct test graph diagram
authorJeff King <peff@peff.net>
Wed, 21 Mar 2018 05:47:45 +0000 (01:47 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Mar 2018 17:24:19 +0000 (10:24 -0700)
We actually branch "A" off of "D". The sample "--graph"
output is right, but the left-to-right diagram is
misleading. Let's fix it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/diff-highlight/t/t9400-diff-highlight.sh

index 3b43dbe..bf62f03 100755 (executable)
@@ -52,8 +52,8 @@ test_strip_patch_header () {
 # dh_test_setup_history generates a contrived graph such that we have at least
 # 1 nesting (E) and 2 nestings (F).
 #
-#            A branch
-#           /
+#        A branch
+#       /
 #      D---E---F master
 #
 #      git log --all --graph