summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4cdd1f9)
raw | patch | inline | side by side (parent: 4cdd1f9)
author | Kay Sievers <kay.sievers@suse.de> | |
Wed, 7 Dec 2005 09:12:55 +0000 (10:12 +0100) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Wed, 7 Dec 2005 09:12:55 +0000 (10:12 +0100) |
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index 605e4b5015f1bcec83a151b3f499db57ac6dbfa8..ad8c6deea1cf35e752dc48248c14f8e5ca52a66b 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
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;