We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a132e0b commit a36b4ecCopy full SHA for a36b4ec
t/t1092-sparse-checkout-compatibility.sh
@@ -655,13 +655,9 @@ ensure_not_expanded () {
655
if test "$1" = "!"
656
then
657
shift &&
658
- (
659
- GIT_TRACE2_EVENT="$(pwd)/trace2.txt" &&
660
- GIT_TRACE2_EVENT_NESTING=10 &&
661
- export GIT_TRACE2_EVENT &&
662
- export GIT_TRACE2_EVENT_NESTING &&
663
- test_must_fail git -C sparse-index "$@" || return 1
664
- )
+ test_must_fail env \
+ GIT_TRACE2_EVENT="$(pwd)/trace2.txt" GIT_TRACE2_EVENT_NESTING=10 \
+ git -C sparse-index "$@" || return 1
665
else
666
GIT_TRACE2_EVENT="$(pwd)/trace2.txt" GIT_TRACE2_EVENT_NESTING=10 \
667
git -C sparse-index "$@" || return 1
0 commit comments