]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tig.pl
tig.pl: Fix graphs with "." and "-".
[config/dotfiles.git] / tig.pl
diff --git a/tig.pl b/tig.pl
index 5fc7625ea46ff91162aab61c897dc3fdc06790f3..a11921818af301a9a26a403b35043553dae8e19a 100755 (executable)
--- 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);