]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
tig.pl: Fix graphs with "_".
authorSimon Ruderich <simon@ruderich.org>
Mon, 4 Mar 2013 03:02:18 +0000 (04:02 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 4 Mar 2013 03:02:18 +0000 (04:02 +0100)
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;
     }