Thread (1 message) 1 message, 1 author, 2024-09-04

Re: [PATCH v4 1/2] t1092: allow run_on_* functions to use standard input

From: Junio C Hamano <hidden>
Date: 2024-09-04 16:23:08

"Kevin Lyles via GitGitGadget" [off-list ref] writes:
From: Kevin Lyles <redacted>

The 'run_on_sparse' and 'run_on_all' functions do not work correctly for
commands accepting standard input, because they run the same command
multiple times and the first instance consumes it. This also indirectly
affects 'test_all_match' and 'test_sparse_match'.

...
-# Usage: test_sprase_checkout_set "<c1> ... <cN>" "<s1> ... <sM>"
+# Usage: test_sparse_checkout_set "<c1> ... <cN>" "<s1> ... <sM>"
 # Verifies that "git sparse-checkout set <c1> ... <cN>" succeeds and
 # leaves the sparse index in a state where <s1> ... <sM> are sparse
 # directories (and <c1> ... <cN> are not).
Reads much better.  Will queue.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help