diff options
author | Patrick Steinhardt <ps@pks.im> | 2023-10-31 09:16:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-01 12:09:01 +0900 |
commit | 0497e6c61172faabf412e013f2fc30a05054a46d (patch) | |
tree | 25d1588270a35a905b41a181037533c0873a28ad /t/t9133-git-svn-nested-git-repo.sh | |
parent | 9080a7f1782b55ee146dd7f9b4f464fe5ea8747a (diff) |
t: use git-show-ref(1) to check for ref existence
Convert tests that use `test_path_is_file` and `test_path_is_missing` to
instead use a set of helpers `test_ref_exists` and `test_ref_missing`.
These helpers are implemented via the newly introduced `git show-ref
--exists` command. Thus, we can avoid intimate knowledge of how the ref
backend stores references on disk.
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