diff options
author | Eric Wong <e@80x24.org> | 2022-10-04 19:12:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-10-05 21:15:26 +0000 |
commit | 87e742835126e37d8f09c35321f9dd07f233dd45 (patch) | |
tree | 02b8b6b38a55db5af277a23a803f477f36afdb5d /lib/PublicInbox/ViewVCS.pm | |
parent | 6dec9bf8c0e1b859703d7a5dfb87052cf4e87846 (diff) | |
download | public-inbox-87e742835126e37d8f09c35321f9dd07f233dd45.tar.gz |
Just reusing ViewVCS::show, since encoding refname and pathnames into things just makes things slower.
Diffstat (limited to 'lib/PublicInbox/ViewVCS.pm')
-rw-r--r-- | lib/PublicInbox/ViewVCS.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index b0f58455..6ada03e6 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -484,6 +484,7 @@ sub show ($$;$) { open $ctx->{lh}, '+>>', "$ctx->{-tmp}/solve.log" or die "open: $!"; my $solver = PublicInbox::SolverGit->new($ctx->{ibx}, \&solve_result, $ctx); + $solver->{gits} //= [ $ctx->{git} ]; $solver->{tmp} = $ctx->{-tmp}; # share tmpdir # PSGI server will call this immediately and give us a callback (-wcb) sub { |