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 /builtin-push.c | |
parent | e923eaeb901ff056421b9007adcbbce271caa7b6 (diff) | |
download | git-13e65fe6314bf44e64f22b9b66a4e5940adaa2e5.tar.gz git-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 'builtin-push.c')
0 files changed, 0 insertions, 0 deletions