Code

gitweb: blame porcelain: lineno and orig lineno swapped
authorLuben Tuikov <ltuikov@yahoo.com>
Wed, 11 Oct 2006 07:30:05 +0000 (00:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 11 Oct 2006 08:15:36 +0000 (01:15 -0700)
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index 68347ac975f4f831ee99547ff26753957dec74da..41d047766cfa02c6c4ae6d90dc1fa83c711729d4 100755 (executable)
@@ -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} = {};