author | Jens Lehmann <Jens.Lehmann@web.de> | |
Wed, 1 Sep 2010 21:01:49 +0000 (23:01 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 3 Sep 2010 16:33:23 +0000 (09:33 -0700) | ||
commit | 1e2847634e7f171b1625295e3f41c1660ff4a61f | |
tree | f687e4e32c46ef8c9c5150740e24f1c35c4c2582 | tree | snapshot |
parent | b49c452bb178cbf4dd0d46d88b564e3246b55da2 | commit | diff |
t7405: 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: Jens Lehmann <Jens.Lehmann@web.de>
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: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7405-submodule-merge.sh | diff | blob | history |