about summary refs log tree commit homepage
path: root/lib/PublicInbox/Repobrowse.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-16 23:26:01 +0000
committerEric Wong <e@80x24.org>2017-02-16 23:26:01 +0000
commite7dc3224ad0b497da6ef242e3a9c612c5702514e (patch)
tree1ac252a5fe4b83bc430cb208cee08edb6d9aa631 /lib/PublicInbox/Repobrowse.pm
parent1f34241e5dc94417d49e2c728e0f2ea04ddc39b0 (diff)
downloadpublic-inbox-e7dc3224ad0b497da6ef242e3a9c612c5702514e.tar.gz
The "HEAD" symbolic ref is rarely changed, so
memoize it for now and avoid exposing it in URLs.
Diffstat (limited to 'lib/PublicInbox/Repobrowse.pm')
-rw-r--r--lib/PublicInbox/Repobrowse.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/Repobrowse.pm b/lib/PublicInbox/Repobrowse.pm
index 7f50a877..34ffd542 100644
--- a/lib/PublicInbox/Repobrowse.pm
+++ b/lib/PublicInbox/Repobrowse.pm
@@ -141,7 +141,6 @@ sub call {
                 ++$tslash;
         }
         $req->{h} = $h;
-        $req->{-tip} = defined $h ? $h : 'HEAD';
         return no_tslash($env) if ($tslash && $NO_TSLASH{$mod});
 
         $req->{tslash} = $tslash;