]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tig.pl
tig.pl: Fix graphs with "_".
[config/dotfiles.git] / tig.pl
diff --git a/tig.pl b/tig.pl
index 615107a993b2d8437cc2ef29bddec31e9955d402..1ae3e75ef5a9931868a946f1b431148251c68475 100755 (executable)
--- a/tig.pl
+++ b/tig.pl
@@ -44,7 +44,7 @@ open my $fh, '-|', $cmd or die $!;
 
 while (my $line = <$fh>) {
     # History graph line.
-    if ($line =~ m{^([|/\\ ]+)$}) {
+    if ($line =~ m{^([|/\\_ ]+)$}) {
         print colored($line, $color_graph);
         next;
     }