about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-26 01:01:52 +0000
committerEric Wong <e@80x24.org>2015-12-26 01:01:52 +0000
commit40ded418d2786892d3e925df10b1e4307bcec018 (patch)
tree9e741286d31b6209d09a8af40f736388148dc2d8 /lib/PublicInbox/SearchView.pm
parente22c6b0074928e469866338c4f4e405605cf2b52 (diff)
downloadpublic-inbox-40ded418d2786892d3e925df10b1e4307bcec018.tar.gz
Oops :x  We need better testing...
Fixes: commit 4c2c2325d2948ec5340e2fcafbee798cf568f5fd
("rename 'GitCatFile' package to 'Git'")
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 9a581561..994bf0db 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -235,7 +235,7 @@ sub html_start {
 sub adump {
         my ($cb, $mset, $q, $ctx) = @_;
         my $fh = $cb->([ 200, ['Content-Type' => 'application/atom+xml']]);
-        my $git = $ctx->{git_dir} ||= PublicInbox::Git->new($ctx->{git_dir});
+        my $git = $ctx->{git} ||= PublicInbox::Git->new($ctx->{git_dir});
         my $feed_opts = PublicInbox::Feed::get_feedopts($ctx);
         my $x = PublicInbox::Hval->new_oneline($q->{q})->as_html;
         $x = qq{$x - search results};