diff options
| author | Jens Lehmann <Jens.Lehmann@web.de> | 2010-09-01 23:01:49 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-09-03 09:33:23 -0700 |
| commit | 1e2847634e7f171b1625295e3f41c1660ff4a61f (patch) | |
| tree | f687e4e32c46ef8c9c5150740e24f1c35c4c2582 /builtin/checkout.c | |
| parent | b49c452bb178cbf4dd0d46d88b564e3246b55da2 (diff) | |
| download | git-1e2847634e7f171b1625295e3f41c1660ff4a61f.tar.gz | |
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>
Diffstat (limited to 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions
