summaryrefslogtreecommitdiff
path: root/t/t5509-fetch-push-namespaces.sh
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-07-07 02:04:34 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-07 13:07:26 -0700
commit4d9e7c153df9b411d782759bbc8def1c8458f4a6 (patch)
treead4115c702dad32602545865d45d4cb8d4dc3700 /t/t5509-fetch-push-namespaces.sh
parentThe seventh batch (diff)
downloadtgif-4d9e7c153df9b411d782759bbc8def1c8458f4a6.tar.xz
t3701: stop using `env` in force_color()
In a future patch, we plan on making the test_must_fail()-family of functions accept only git commands. Even though force_color() wraps an invocation of `env git`, test_must_fail() will not be able to figure this out since it will assume that force_color() is just some random function which is disallowed. Instead of using `env` in force_color() (which does not support shell functions), export the environment variables in a subshell. Write the invocation as `force_color test_must_fail git ...` since shell functions are now supported. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5509-fetch-push-namespaces.sh')
0 files changed, 0 insertions, 0 deletions