From: Jens Lehmann Date: Wed, 1 Sep 2010 21:01:49 +0000 (+0200) Subject: t7405: cd inside subshell instead of around X-Git-Tag: v1.7.3-rc0~20 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1e2847634e7f171b1625295e3f41c1660ff4a61f?hp=1e2847634e7f171b1625295e3f41c1660ff4a61f 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 Signed-off-by: Junio C Hamano ---