summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2128487)
raw | patch | inline | side by side (parent: 2128487)
author | Kay Sievers <kay.sievers@suse.de> | |
Thu, 22 Dec 2005 21:58:29 +0000 (22:58 +0100) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Thu, 22 Dec 2005 21:58:29 +0000 (22:58 +0100) |
Thanks to Jon Nelson for the patch.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index 3735535c8ba5eeac4d08751a70a5a74dfc9f85ca..1814f7f2b3784a61e40cf04fa72cdfd2218de22e 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
}
my $refs = read_info_ref();
my $ref = "";
- if (defined $refs->{$hash}) {
- $ref = " <span class=\"tag\">" . esc_html($refs->{$hash}) . "</span>";
+ if (defined $refs->{$co{'id'}}) {
+ $ref = " <span class=\"tag\">" . esc_html($refs->{$co{'id'}}) . "</span>";
}
git_header_html(undef, $expires);
print "<div class=\"page_nav\">\n" .
}
my $refs = read_info_ref();
my $ref = "";
- if (defined $refs->{$hash}) {
- $ref = " <span class=\"tag\">" . esc_html($refs->{$hash}) . "</span>";
+ if (defined $refs->{$co{'id'}}) {
+ $ref = " <span class=\"tag\">" . esc_html($refs->{$co{'id'}}) . "</span>";
}
git_header_html(undef, $expires);
print "<div class=\"page_nav\">\n" .