author | Brian Gernhardt <brian@gernhardtsoftware.com> | |
Tue, 24 Aug 2010 02:37:24 +0000 (22:37 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 24 Aug 2010 16:33:09 +0000 (09:33 -0700) | ||
commit | 25641fcdb0d31130fadd649861035cc7db859cf7 | |
tree | cdb11e4e667f493556a8039c9fab12f5bdbc1d6b | tree | snapshot |
parent | bc38219f50ba9228945fba8e900d636f15082f16 | commit | diff |
t7610: cd inside subshell instead of around
Instead of using `cd dir && (...) && cd..` use `(cd dir && ...)`
This ensures that the test doesn't get caught in the subdirectory if
there is an error in the subshell.
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Instead of using `cd dir && (...) && cd..` use `(cd dir && ...)`
This ensures that the test doesn't get caught in the subdirectory if
there is an error in the subshell.
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7610-mergetool.sh | diff | blob | history |