diff options
| author | Aaron Plattner <aplattner@nvidia.com> | 2026-02-18 10:10:19 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-19 09:02:08 -0800 |
| commit | 0678e01f0211f4e3310f3c01b3425da53aa63677 (patch) | |
| tree | 75bc311b6fb4e200ee5be4758f18f5574af2c161 /contrib/persistent-https | |
| parent | 67ad42147a7acc2af6074753ebd03d904476118f (diff) | |
| download | git-0678e01f0211f4e3310f3c01b3425da53aa63677.tar.gz git-0678e01f0211f4e3310f3c01b3425da53aa63677.zip | |
t: use test_seq -f and pipes in a few more places
Several tests use a pattern that writes to a temporary file like this:
printf "do something with %d\n" $(test_seq <count>) >tmpfile &&
git do-something --stdin <tmpfile
Other tests use test_seq's -f parameter, but still write to a temporary file:
test_seq -f "do something with %d" <count> >input &&
git do-something --stdin <input
Simplify both of these patterns to
test_seq -f "do something with %d" <count> |
git do-something --stdin
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
