Permalink
Browse files

index.cgi: fix a warning.

  • Loading branch information...
1 parent cc6ba4f commit f5427f34e0ca40d4c98e8ca250b0a192e45d3e4d @apenwarr committed Oct 29, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 out/index.cgi
View
@@ -125,7 +125,7 @@ sub fixbranchprint($)
{
my $branchprint = shift;
$branchprint =~ s{^origin/}{};
- $branchprint =~ s{(.*/)?(.*)}{$1<b>$2</b>};
+ $branchprint =~ s{(.*/?)(.*)}{$1<b>$2</b>};
return $branchprint;
}

0 comments on commit f5427f3

Please sign in to comment.