From: Simon Ruderich Date: Mon, 11 Mar 2013 16:28:45 +0000 (+0100) Subject: tig.pl: Fix graphs with "." and "-". X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=bfd5d27338963d359e144db67e58cb69b0bb5496;p=config%2Fdotfiles.git tig.pl: Fix graphs with "." and "-". --- diff --git a/tig.pl b/tig.pl index 5fc7625..a119218 100755 --- a/tig.pl +++ b/tig.pl @@ -51,7 +51,7 @@ while (my $line = <$fh>) { } # Commit line. - $line =~ /^([ *|]+)\x00(.+)\x00(.+)\x00(.+)\x00(.+)\x00(.*)$/ + $line =~ /^([ *|.-]+)\x00(.+)\x00(.+)\x00(.+)\x00(.+)\x00(.*)$/ or die $line; my $prefix = $1; my $hash = colored($2, $color_hash);