summaryrefslogtreecommitdiff
path: root/t/t9133-git-svn-nested-git-repo.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-11-02 09:46:45 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-03 08:37:06 +0900
commit1c6667cb9dab6f90dcc3381676b50b1f131aeda5 (patch)
tree6ea16916ee239d9d940805050d0dcfd0d16477d4 /t/t9133-git-svn-nested-git-repo.sh
parent9ddd5b883b0221d80392a914eb621ea680476e75 (diff)
t: convert tests to not write references via the filesystem
Some of our tests manually create, update or delete references by writing the respective new values into the filesystem directly. While this works with the current files reference backend, this will break once we have a second reference backend implementation in our codebase. Refactor these tests to instead use git-update-ref(1) or our `ref-store` test tool. The latter is required in some cases where safety checks of git-update-ref(1) would otherwise reject a reference update. While at it, refactor some of the tests to schedule the cleanup command via `test_when_finished` before modifying the repository. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9133-git-svn-nested-git-repo.sh')
0 files changed, 0 insertions, 0 deletions