diff options
author | Eric Wong <e@80x24.org> | 2016-01-14 00:47:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-05 18:58:27 +0000 |
commit | dd3ff54154f7a771da07c10f500e3033c8ce71bc (patch) | |
tree | 7c758ded52dc4ecc711e8805100a91d612c473b2 /lib/PublicInbox/RepobrowseGitPlain.pm | |
parent | 1e7a2bbd2c7b0c1d5f989c0e225d22276055eff1 (diff) | |
download | public-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/RepobrowseGitPlain.pm')
-rw-r--r-- | lib/PublicInbox/RepobrowseGitPlain.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepobrowseGitPlain.pm b/lib/PublicInbox/RepobrowseGitPlain.pm index ebb4f397..89788a10 100644 --- a/lib/PublicInbox/RepobrowseGitPlain.pm +++ b/lib/PublicInbox/RepobrowseGitPlain.pm @@ -10,7 +10,7 @@ use PublicInbox::Hval qw(utf8_html); sub call_git_plain { my ($self, $req) = @_; my $git = $req->{repo_info}->{git}; - my $q = PublicInbox::RepobrowseQuery->new($req->{cgi}); + my $q = PublicInbox::RepobrowseGitQuery->new($req->{cgi}); my $id = $q->{id}; $id eq '' and $id = 'HEAD'; |