From 6158b3e3476cd49a2e6c32fad88a7905ec88de8f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 22 Feb 2017 03:01:24 +0000 Subject: repobrowse: fixup revision handling Revisions passed in the URL must not be ignored. This fixes some bugs introduced in commit f6244586ba4f5a5e7575e1254be8c9bbe303fce9 ("repobrowse: switch to new URL format to avoid query strings") --- lib/PublicInbox/RepoGitTag.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/PublicInbox/RepoGitTag.pm') diff --git a/lib/PublicInbox/RepoGitTag.pm b/lib/PublicInbox/RepoGitTag.pm index 6a35f61c..785de6b1 100644 --- a/lib/PublicInbox/RepoGitTag.pm +++ b/lib/PublicInbox/RepoGitTag.pm @@ -19,11 +19,11 @@ my %cmd_map = ( # type => action sub call_git_tag { my ($self, $req) = @_; - my $h = $req->{h}; - defined $h or return git_tag_list($self, $req); + my $tip = $req->{tip}; + defined $tip or return git_tag_list($self, $req); sub { my ($res) = @_; - git_tag_show($self, $req, $h, $res); + git_tag_show($self, $req, $tip, $res); } } -- cgit v1.2.3-24-ge0c7