Skip to content

Commit a36b4ec

Browse files
committed
fixup! merge-ort: expand only for out-of-cone conflicts
1 parent a132e0b commit a36b4ec

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

t/t1092-sparse-checkout-compatibility.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -655,13 +655,9 @@ ensure_not_expanded () {
655655
if test "$1" = "!"
656656
then
657657
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-
)
658+
test_must_fail env \
659+
GIT_TRACE2_EVENT="$(pwd)/trace2.txt" GIT_TRACE2_EVENT_NESTING=10 \
660+
git -C sparse-index "$@" || return 1
665661
else
666662
GIT_TRACE2_EVENT="$(pwd)/trace2.txt" GIT_TRACE2_EVENT_NESTING=10 \
667663
git -C sparse-index "$@" || return 1

0 commit comments

Comments
 (0)