Re: [GSoC PATCH v3 0/7] repack: add --drop-filtered to reclaim space in partial clones
Junio C Hamano <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
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' '