Thread (74 messages) flat view 74 messages, 4 authors, 1d ago

Re: [GSoC PATCH v3 0/7] repack: add --drop-filtered to reclaim space in partial clones

From: Junio C Hamano <hidden>
Date: 2026-08-06 21:34:59

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' '

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help