diff options
author | Eric Wong <e@80x24.org> | 2023-11-30 11:40:58 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-30 21:36:52 +0000 |
commit | 1136d96554555250cb9b1767a8d64d7271c0d15e (patch) | |
tree | 905ff5b5e98838b76f4a5732bd4c49bf226745c8 | |
parent | afef2fd49bf7b29daa5039bd5875bf3a66fed187 (diff) | |
download | public-inbox-1136d96554555250cb9b1767a8d64d7271c0d15e.tar.gz |
This fixes the case where we're running both SHA-256 and SHA-1. There's no tests for SHA-256, yet, but the bug is pretty obvious upon reading the code.
-rw-r--r-- | lib/PublicInbox/CodeSearchIdx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/CodeSearchIdx.pm b/lib/PublicInbox/CodeSearchIdx.pm index cf6a6efe..26018232 100644 --- a/lib/PublicInbox/CodeSearchIdx.pm +++ b/lib/PublicInbox/CodeSearchIdx.pm @@ -1087,7 +1087,7 @@ sub run_prune { # OnDestroy when `git config extensions.objectFormat' are done # ) | awk | sort | comm | cidx_read_comm() my ($awk_opt, $sort_opt, $batch_opt); my $comm_opt = { -C => "$TMPDIR" }; - pipe(local $awk_opt->{0}, local $batch_opt->{1}); + pipe(local $awk_opt->{0}, $batch_opt->{1}); pipe(local $sort_opt->{0}, local $awk_opt->{1}); pipe(local $comm_opt->{0}, local $sort_opt->{1}); run_await(\@AWK, $CMD_ENV, $awk_opt, \&cmd_done); |