From bfd5d27338963d359e144db67e58cb69b0bb5496 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 11 Mar 2013 17:28:45 +0100 Subject: [PATCH] tig.pl: Fix graphs with "." and "-". --- tig.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2