t7405: cd inside subshell instead of around
authorJens Lehmann <Jens.Lehmann@web.de>
Wed, 1 Sep 2010 21:01:49 +0000 (23:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Sep 2010 16:33:23 +0000 (09:33 -0700)
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>
No differences found