From 5e06084ec9f4e62239f57dae48881c9f99a19101 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 17 Mar 2013 16:26:17 +0100 Subject: [PATCH] tig.pl: Allow empty commit messages. --- tig.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.pl b/tig.pl index e08d79c..53c2e36 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.44.1