From: Kay Sievers Date: Wed, 7 Dec 2005 09:12:55 +0000 (+0100) Subject: show multiple tags X-Git-Tag: v1.4.0~1^2~19 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=045e531a8f2ef75605ec839d66d80abe126647b4;p=git.git show multiple tags Signed-off-by: Kay Sievers --- diff --git a/gitweb.cgi b/gitweb.cgi index 605e4b50..ad8c6dee 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -912,7 +912,11 @@ sub read_info_ref { open my $fd, "$projectroot/$project/info/refs" or return; while (my $line = <$fd>) { if ($line =~ m/^([0-9a-fA-F]{40})\t.*\/([^\^]+)/) { - $refs{$1} = $2; + if (defined $refs{$1}) { + $refs{$1} .= " / $2"; + } else { + $refs{$1} = $2; + } } } close $fd or return;