diff options
author | Eric Wong <e@80x24.org> | 2023-02-14 13:17:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-02-15 04:31:22 +0000 |
commit | 1d88b8639596a549dd972e113b52f9c2d035d529 (patch) | |
tree | bbce90399e49d325159d8aa71443296244eb4d67 /lib/PublicInbox/RepoAtom.pm | |
parent | 771dda802ec8c13dc13a1daabcefee9f3df9bb38 (diff) | |
download | public-inbox-1d88b8639596a549dd972e113b52f9c2d035d529.tar.gz |
No need to clutter up logs when a request hits a dead branch.
Diffstat (limited to 'lib/PublicInbox/RepoAtom.pm')
-rw-r--r-- | lib/PublicInbox/RepoAtom.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoAtom.pm b/lib/PublicInbox/RepoAtom.pm index 44883ab4..c89d4551 100644 --- a/lib/PublicInbox/RepoAtom.pm +++ b/lib/PublicInbox/RepoAtom.pm @@ -120,7 +120,8 @@ sub srv_atom { # else: let git decide based on HEAD if $tip isn't defined push @cmd, '--'; push @cmd, $path if $path ne ''; - my $qsp = PublicInbox::Qspawn->new(\@cmd); + my $qsp = PublicInbox::Qspawn->new(\@cmd, undef, + { quiet => 1, 2 => $ctx->{lh} }); $qsp->psgi_return($ctx->{env}, undef, \&atom_ok, $ctx); } |