about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitTree.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-14 00:47:28 +0000
committerEric Wong <e@80x24.org>2016-04-05 18:58:27 +0000
commitdd3ff54154f7a771da07c10f500e3033c8ce71bc (patch)
tree7c758ded52dc4ecc711e8805100a91d612c473b2 /lib/PublicInbox/RepobrowseGitTree.pm
parent1e7a2bbd2c7b0c1d5f989c0e225d22276055eff1 (diff)
downloadpublic-inbox-dd3ff54154f7a771da07c10f500e3033c8ce71bc.tar.gz
While we want to keep a consistent set of parameters across
different VCSes, we cannot expect users of non-git VCSes to
use the same parameter names which make sense for git users.
Diffstat (limited to 'lib/PublicInbox/RepobrowseGitTree.pm')
-rw-r--r--lib/PublicInbox/RepobrowseGitTree.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepobrowseGitTree.pm b/lib/PublicInbox/RepobrowseGitTree.pm
index 13ded634..e8012dde 100644
--- a/lib/PublicInbox/RepobrowseGitTree.pm
+++ b/lib/PublicInbox/RepobrowseGitTree.pm
@@ -20,7 +20,7 @@ sub git_tree_stream {
         my ($self, $req, $res) = @_; # res: Plack callback
         my @extra = @{$req->{extra}};
         my $git = $req->{repo_info}->{git};
-        my $q = PublicInbox::RepobrowseQuery->new($req->{cgi});
+        my $q = PublicInbox::RepobrowseGitQuery->new($req->{cgi});
         my $id = $q->{id};
         if ($id eq '') {
                 chomp($id = $git->qx(qw(rev-parse --short=10 HEAD)));