mirror of
https://github.com/git/git.git
synced 2024-11-27 12:03:55 +08:00
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:
parent
f95661b740
commit
977f8acefd
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user