Re: [GSoC PATCH v3 0/7] repack: add --drop-filtered to reclaim space in partial clones
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 6, 2026, 21:34 UTC
- Message-ID
- <xmqq4ih7hr0f.fsf@gitster.g>
- In-Reply-To
- <20260806112202.75067-1-r.siddharth.shrimali@gmail.com>
You would need something like the attached patch.
Didn't you get these when you ran "make test"?
t7706-repack-drop-filtered.sh:145: error: bare grep outside pipeline (use test_grep) t7706-repack-drop-filtered.sh:146: error: bare grep outside pipeline (use test_grep)
t/t7706-repack-drop-filtered.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git i/t/t7706-repack-drop-filtered.sh w/t/t7706-repack-drop-filtered.sh index 6774886f1e..05d58fa456 100755 --- i/t/t7706-repack-drop-filtered.sh +++ w/t/t7706-repack-drop-filtered.sh @@ -142,8 +142,8 @@ test_expect_success '--drop-filtered removes the promisor blob locally' ' repack --drop-filtered --filter=blob:limit=1k -a && git -C repo cat-file --batch-all-objects --batch-check="%(objectname)" >present && - ! grep -q "$BIG" present && - grep -q "$SMALL" present + test_grep ! "$BIG" present && + test_grep "$SMALL" present ' test_expect_success '--drop-filtered refuses when a merge is in progress' '