Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: git_annotate didn't expect negative numeric timezone
author
Jakub Narebski
<jnareb@gmail.com>
Sat, 26 Aug 2006 00:13:05 +0000
(
02:13
+0200)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 26 Aug 2006 07:59:29 +0000
(
00:59
-0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b22d449
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 04282fa5e381c1dc156085281e8517fb69be6192..966c54a63cacf20d2a71241f738df0378e46f569 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1882,7
+1882,7
@@
sub git_blame {
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;