aboutsummaryrefslogtreecommitdiffstats
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorShubham Verma <shubhunic@gmail.com>2021-02-12 01:17:00 +0530
committerJunio C Hamano <gitster@pobox.com>2021-02-11 13:42:16 -0800
commit368d2782499af9fbe9db73aed2ffbba53772374a (patch)
tree79f9da7c7921c044566e1ddfbf5ffabdfbae61a6 /git-gui/lib/commit.tcl
parentt7001: remove whitespace after redirect operators (diff)
downloadgit-368d2782499af9fbe9db73aed2ffbba53772374a.tar.gz
git-368d2782499af9fbe9db73aed2ffbba53772374a.zip
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 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions