show multiple tags
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers committed
Dec 7, 2005 at 10:12 UTC
045e531a8f2ef75605ec839d66d80abe126647b4
1 file changed
+5
-1
gitweb.cgi
+5
-1
@@ -912,7 +912,11 @@ sub read_info_ref {
912
open my $fd, "$projectroot/$project/info/refs" or return;
913
while (my $line = <$fd>) {
914
if ($line =~ m/^([0-9a-fA-F]{40})\t.*\/([^\^]+)/) {
915
- $refs{$1} = $2;
915
+ if (defined $refs{$1}) {
916
+ $refs{$1} .= " / $2";
917
+ } else {
918
+ $refs{$1} = $2;
919
+ }
920
}
921
}
922
close $fd or return;