summaryrefslogtreecommitdiff
path: root/t/t5528-push-default.sh
diff options
context:
space:
mode:
authorLibravatar Shubham Verma <shubhunic@gmail.com>2021-02-12 01:17:00 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-11 13:42:16 -0800
commit368d2782499af9fbe9db73aed2ffbba53772374a (patch)
tree79f9da7c7921c044566e1ddfbf5ffabdfbae61a6 /t/t5528-push-default.sh
parentt7001: remove whitespace after redirect operators (diff)
downloadtgif-368d2782499af9fbe9db73aed2ffbba53772374a.tar.xz
t7001: avoid using `cd` outside of subshells
Avoid using `cd` outside of subshells since, if the test fails, there is no guarantee that the current working directory is the expected one, which may cause subsequent tests to run in the wrong directory. While at it, make some other tests more concise by replacing simple subshells with `git -C`. Signed-off-by: Shubham Verma <shubhunic@gmail.com> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5528-push-default.sh')
0 files changed, 0 insertions, 0 deletions