]> git.ipfire.org Git - thirdparty/git.git/commit
t9350: redirect input to only fast-import
authorChristian Couder <christian.couder@gmail.com>
Fri, 25 Jul 2025 16:05:36 +0000 (18:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2025 14:31:23 +0000 (07:31 -0700)
commit5345ca174597e733821f0aebd8ed59fa2edd3da3
tree93e6cd3c69332f5d19f1e63f7665d7a6476e157f
parentb5b3ddbe5c56c7ded95e7c47c985dc6d61f73ea0
t9350: redirect input to only fast-import

A number of tests in "t9350-fast-export.sh" are using sub-shells to
redirect content to a number of commands instead of only
`git fast-import`.

This is confusing and possibly error-prone, so let's change those tests
so that no sub-shell is used and the content goes only to
`git fast-import`.

Reported-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9350-fast-export.sh