aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-submodule.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-01-15 11:35:57 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-16 09:18:20 -0800
commit3bf5ccf429561a1fbd64cc55b771e31aae15065c (patch)
tree80019b9b7c3fec179f3abff201cea6af729f215e /t/helper/test-submodule.c
parentThe seventh batch (diff)
downloadgit-3bf5ccf429561a1fbd64cc55b771e31aae15065c.tar.gz
git-3bf5ccf429561a1fbd64cc55b771e31aae15065c.zip
completion: discover repo path in `__git_pseudoref_exists ()`
The helper function `__git_pseudoref_exists ()` expects that the repo path has already been discovered by its callers, which makes for a rather fragile calling convention. Refactor the function to discover the repo path itself to make it more self-contained, which also removes the need to discover the path in some of its callers. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-submodule.c')
0 files changed, 0 insertions, 0 deletions