From: Luben Tuikov Date: Wed, 11 Oct 2006 07:30:05 +0000 (-0700) Subject: gitweb: blame porcelain: lineno and orig lineno swapped X-Git-Tag: v1.4.4-rc1~69^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d15c55aa052434aee75c73da4ed771af3e3b6f61;p=git.git gitweb: blame porcelain: lineno and orig lineno swapped Signed-off-by: Luben Tuikov Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 68347ac97..41d047766 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} = {};