about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitAtom.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-22 03:01:24 +0000
committerEric Wong <e@80x24.org>2017-02-22 03:01:24 +0000
commit6158b3e3476cd49a2e6c32fad88a7905ec88de8f (patch)
tree04eaf4f795bb393167cb8c32d37963c3e1e5c4b4 /lib/PublicInbox/RepoGitAtom.pm
parenta49c12485985cce469c8b653ff7b76c85343b08d (diff)
downloadpublic-inbox-6158b3e3476cd49a2e6c32fad88a7905ec88de8f.tar.gz
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")
Diffstat (limited to 'lib/PublicInbox/RepoGitAtom.pm')
-rw-r--r--lib/PublicInbox/RepoGitAtom.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoGitAtom.pm b/lib/PublicInbox/RepoGitAtom.pm
index 615c8927..c30c6184 100644
--- a/lib/PublicInbox/RepoGitAtom.pm
+++ b/lib/PublicInbox/RepoGitAtom.pm
@@ -141,7 +141,7 @@ sub call_git_atom {
 
         my $git = $repo->{git};
         my $env = $req->{env};
-        my $tip = $req->{h} || $repo->tip;
+        my $tip = $req->{tip} || $repo->tip;
         my $read_log = sub {
                 my $cmd = $git->cmd(qw(log --no-notes --no-color
                                         --abbrev-commit), $git->abbrev,