]> git.ipfire.org Git - thirdparty/git.git/commitdiff
diff-highlight: fix a whitespace nit
authorNorman Rasmussen <norman@rasmussen.co.za>
Tue, 15 Oct 2019 03:31:26 +0000 (03:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Oct 2019 05:08:37 +0000 (14:08 +0900)
This changes the indent from
  "<tab><sp><sp><sp><sp><sp><sp><sp><sp>"
to
  "<tab><tab>"
so that the statement lines up with the rest of the block.

Signed-off-by: Norman Rasmussen <norman@rasmussen.co.za>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/diff-highlight/DiffHighlight.pm

index 7440aa1c4638103c952c225f2c9b77d8c9451b08..e2589922a659641526b8d946ccc06f87e9731de2 100644 (file)
@@ -72,7 +72,7 @@ sub handle_line {
              (?:$COLOR?\|$COLOR?[ ])* # zero or more trailing "|"
                                 [ ]*  # trailing whitespace for merges
            /x) {
-               my $graph_prefix = $&;
+               my $graph_prefix = $&;
 
                # We must flush before setting graph indent, since the
                # new commit may be indented differently from what we