From: Jakub Narebski Date: Sat, 26 Aug 2006 00:13:05 +0000 (+0200) Subject: gitweb: git_annotate didn't expect negative numeric timezone X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/5fdd86569e406bafa14806654541af0306c5fba5e1e66817125857d0c3286ab6 gitweb: git_annotate didn't expect negative numeric timezone Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 0c2ec7b..36fae57 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2291,7 +2291,7 @@ HTML chomp $line; $line_class_num = ($line_class_num + 1) % $line_class_len; - if ($line =~ m/^([0-9a-fA-F]{40})\t\(\s*([^\t]+)\t(\d+) \+\d\d\d\d\t(\d+)\)(.*)$/) { + if ($line =~ m/^([0-9a-fA-F]{40})\t\(\s*([^\t]+)\t(\d+) [+-]\d\d\d\d\t(\d+)\)(.*)$/) { $long_rev = $1; $author = $2; $time = $3;