Skip to content

Commit 977f8ac

Browse files
hanwengitster
authored andcommitted
t6001: avoid direct file system access
Signed-off-by: Han-Wen Nienhuys <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f95661b commit 977f8ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t6001-rev-list-graft.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ test_expect_success setup '
2323
git commit -a -m "Third in one history." &&
2424
A2=$(git rev-parse --verify HEAD) &&
2525
26-
rm -f .git/refs/heads/main .git/index &&
26+
git update-ref -d refs/heads/main &&
27+
rm -f .git/index &&
2728
2829
echo >fileA fileA again &&
2930
echo >subdir/fileB fileB again &&

0 commit comments

Comments
 (0)