diff options
author | Luben Tuikov <ltuikov@yahoo.com> | 2006-10-11 00:30:05 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-11 01:15:36 -0700 |
commit | d15c55aa052434aee75c73da4ed771af3e3b6f61 (patch) | |
tree | 2842c9fd44feaeb4f296547bb86b2700f4f261fd /gitweb/gitweb.perl | |
parent | gitweb: use blame --porcelain (diff) | |
download | tgif-d15c55aa052434aee75c73da4ed771af3e3b6f61.tar.xz |
gitweb: blame porcelain: lineno and orig lineno swapped
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 68347ac975..41d047766c 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2533,7 +2533,7 @@ HTML while (1) { $_ = <$fd>; last unless defined $_; - my ($full_rev, $lineno, $orig_lineno, $group_size) = + my ($full_rev, $orig_lineno, $lineno, $group_size) = /^([0-9a-f]{40}) (\d+) (\d+)(?: (\d+))?$/; if (!exists $metainfo{$full_rev}) { $metainfo{$full_rev} = {}; |