From cf2f4142baba6dc0bcc9d8af37e83cb8ca3add0e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 17 Mar 2013 16:26:28 +0100 Subject: [PATCH] tig.pl: Fix graphs with "\". --- tig.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.pl b/tig.pl index 53c2e36..d7272a3 100755 --- a/tig.pl +++ b/tig.pl @@ -68,7 +68,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