mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08:00
show multiple tags
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
parent
4cdd1f9031
commit
045e531a8f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user