From 038da645d825eb46018d0e92317594e54b37250e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 11 Mar 2013 17:26:31 +0100 Subject: [PATCH] tig.pl: Strip superfluous whitespace. --- tig.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tig.pl b/tig.pl index e3affa8..5fc7625 100755 --- a/tig.pl +++ b/tig.pl @@ -60,6 +60,8 @@ while (my $line = <$fh>) { my $message = $5; my $refs = $6; + # Strip trailing whitespace. + $prefix =~ s/\s+$//; # Color "graph". $prefix =~ s/\|/colored($&, $color_graph)/ge; -- 2.45.2