t6001: avoid direct file system access

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Han-Wen Nienhuys 2021-08-02 16:53:36 +00:00 committed by Junio C Hamano
parent f95661b740
commit 977f8acefd

View File

@ -23,7 +23,8 @@ test_expect_success setup '
git commit -a -m "Third in one history." &&
A2=$(git rev-parse --verify HEAD) &&
rm -f .git/refs/heads/main .git/index &&
git update-ref -d refs/heads/main &&
rm -f .git/index &&
echo >fileA fileA again &&
echo >subdir/fileB fileB again &&