Browse Source

show multiple tags

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
maint
Kay Sievers 19 years ago
parent
commit
045e531a8f
  1. 6
      gitweb.cgi

6
gitweb.cgi

@ -912,7 +912,11 @@ sub read_info_ref {
open my $fd, "$projectroot/$project/info/refs" or return; open my $fd, "$projectroot/$project/info/refs" or return;
while (my $line = <$fd>) { while (my $line = <$fd>) {
if ($line =~ m/^([0-9a-fA-F]{40})\t.*\/([^\^]+)/) { 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; close $fd or return;

Loading…
Cancel
Save