@matheusbsbs / matheus-bagliano / commits / 030b52087f
Fork 0

gitweb: git_annotate didn't expect negative numeric timezone

Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jakub Narebski committed Aug 26, 2006 at 02:13 UTC 030b52087f0a4b7b1178d34839868ce438eb2f0e
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -1882,7 +1882,7 @@ HTML
1882 chomp $line;
1883 $line_class_num = ($line_class_num + 1) % $line_class_len;
1884
1885 - if ($line =~ m/^([0-9a-fA-F]{40})\t\(\s*([^\t]+)\t(\d+) \+\d\d\d\d\t(\d+)\)(.*)$/) {
1885 + if ($line =~ m/^([0-9a-fA-F]{40})\t\(\s*([^\t]+)\t(\d+) [+-]\d\d\d\d\t(\d+)\)(.*)$/) {
1886 $long_rev = $1;
1887 $author = $2;
1888 $time = $3;