diff options
author | Shubham Verma <shubhunic@gmail.com> | 2021-02-12 01:17:00 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-11 13:42:16 -0800 |
commit | 368d2782499af9fbe9db73aed2ffbba53772374a (patch) | |
tree | 79f9da7c7921c044566e1ddfbf5ffabdfbae61a6 /Documentation/RelNotes/1.5.5.2.txt | |
parent | t7001: remove whitespace after redirect operators (diff) | |
download | tgif-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 'Documentation/RelNotes/1.5.5.2.txt')
0 files changed, 0 insertions, 0 deletions