From: Ævar Arnfjörð Bjarmason Date: Mon, 30 Aug 2010 12:00:42 +0000 (+0000) Subject: test-lib: use subshell instead of cd $new && .. && cd $old X-Git-Tag: v1.7.3-rc0~2^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0d314ce834df9ad6bb5d6e9583c38aefd047fc9b?ds=inline;hp=0d314ce834df9ad6bb5d6e9583c38aefd047fc9b test-lib: use subshell instead of cd $new && .. && cd $old Change the test_create_repo code added in v1.2.2~6 to use a subshell instead of keeping track of the old working directory and cd-ing back when it's done. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano ---