diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-08-30 12:00:42 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-31 12:12:02 -0700 |
commit | 0d314ce834df9ad6bb5d6e9583c38aefd047fc9b (patch) | |
tree | 625925df169bc567171f3e57c1e50d7cd38eb399 /test-genrandom.c | |
parent | tests: simplify "missing PREREQ" message (diff) | |
download | tgif-0d314ce834df9ad6bb5d6e9583c38aefd047fc9b.tar.xz |
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 <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-genrandom.c')
0 files changed, 0 insertions, 0 deletions