From: Junio C Hamano Date: Wed, 04 Sep 2024 16:23:04 GMT Subject: Re: [PATCH v4 1/2] t1092: allow run_on_* functions to use standard input Message-ID: In-Reply-To: <73fe71abcd578316a81615feee9561015c2a1c53.1725401207.git.gitgitgadget@gmail.com> "Kevin Lyles via GitGitGadget" writes: > From: Kevin Lyles > > 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 " ... " " ... " > +# Usage: test_sparse_checkout_set " ... " " ... " > # Verifies that "git sparse-checkout set ... " succeeds and > # leaves the sparse index in a state where ... are sparse > # directories (and ... are not). Reads much better. Will queue. Thanks.