summaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.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/diff.tcl
parentdd72154149a48120f135de28b0202ac5de34d17b (diff)
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/diff.tcl')
0 files changed, 0 insertions, 0 deletions