diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-24 10:22:05 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-24 10:41:12 -0800 |
commit | 13e65fe6314bf44e64f22b9b66a4e5940adaa2e5 (patch) | |
tree | 47b6bd1f7f28c22679ac5cc10e0bb668ee65789d /shell.c | |
parent | Git 1.7.0 (diff) | |
download | tgif-13e65fe6314bf44e64f22b9b66a4e5940adaa2e5.tar.xz |
t5521: fix and modernize
All of these tests were bogus, as they created new directory and tried to
run "git pull" without even running "git init" in there. They were mucking
with the repository in $TEST_DIRECTORY.
While fixing it, modernize the style not to chdir around outside of
subshell. Otherwise a failed test will take us to an unexpected directory
and we need to chdir back to the test directory in each test, which is
ugly and error prone.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions