diff options
author | Elijah Newren <newren@gmail.com> | 2018-05-24 00:04:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-28 15:09:01 +0900 |
commit | 2a4c19efbf8953cccc28cbf359049caff907a4e6 (patch) | |
tree | 7af1954fa7c486fb1610b1079f60102b41ff9f95 /copy.c | |
parent | The sixth batch for 2.18 (diff) | |
download | tgif-2a4c19efbf8953cccc28cbf359049caff907a4e6.tar.xz |
t6036, t6042: use test_create_repo to keep tests independent
These tests used pretty strong measures to get a clean slate:
git rm -rf . &&
git clean -fdqx &&
rm -rf .git &&
git init &&
It's easier, safer (what if a previous test has a bug and accidentally
changes into a directory outside the test path?), and allows re-inspecting
test setup later if we instead just use test_create_repo to put different
tests into separate sub-repositories.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions