summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorLibravatar Luben Tuikov <ltuikov@yahoo.com>2006-10-11 00:30:05 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-11 01:15:36 -0700
commitd15c55aa052434aee75c73da4ed771af3e3b6f61 (patch)
tree2842c9fd44feaeb4f296547bb86b2700f4f261fd /gitweb/gitweb.perl
parentgitweb: use blame --porcelain (diff)
downloadtgif-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-xgitweb/gitweb.perl2
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} = {};