From: Simon Ruderich Date: Mon, 4 Mar 2013 03:02:18 +0000 (+0100) Subject: tig.pl: Fix graphs with "_". X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a0cd1f8574a9afd9e6fea4aba20cea49d72a3041;p=config%2Fdotfiles.git tig.pl: Fix graphs with "_". --- diff --git a/tig.pl b/tig.pl index 615107a..1ae3e75 100755 --- 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; }