summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2015-06-11 16:06:57 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2015-06-11 16:06:57 -0700
commit2a028ebcb928473473888c506071c7bd097ae752 (patch)
tree14c12b2f69967c51fbc1c162efcbb7cb7fbd2c3f
parentc2e52b428ed39634aa9dc55f13e91e22d6f4d36c (diff)
downloadgitweb2cgit-2a028ebcb928473473888c506071c7bd097ae752.tar.gz
gitweb2cgit-2a028ebcb928473473888c506071c7bd097ae752.tar.xz
gitweb2cgit-2a028ebcb928473473888c506071c7bd097ae752.zip
$id -> $parm{'id'}
-rwxr-xr-xgitweb2cgit.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb2cgit.cgi b/gitweb2cgit.cgi
index 7eb8a0b..5b4d482 100755
--- a/gitweb2cgit.cgi
+++ b/gitweb2cgit.cgi
@@ -128,7 +128,7 @@ delete $parm{'o'};
# Tags handling
if ($a eq 'tag') {
- $id =~ s:^refs/tags/::; # Drop leading refs/tags
+ $parm{'id'} =~ s:^refs/tags/::; # Drop leading refs/tags
}
# Snapshot handling