path: expose `do_git_path()` as `repo_git_pathv()`
commitb6c6bfef31e1ffe3804e5a1ba5bfe9e7879eda92
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Aug 2024 09:13:20 +0000 (13 11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2024 17:01:00 +0000 (13 10:01 -0700)
tree0766ef6113d10c42c6f7274cb810d6ad7c8cf6d7
parent92a29c2c397cf1e86a912b9bd3657019c3f23460
path: expose `do_git_path()` as `repo_git_pathv()`

We're about to move functions of the "path" subsytem that do not use a
`struct repository` into "path.h" as static inlined functions. This will
require us to call `do_git_path()`, which is internal to "path.c".

Expose the function as `repo_git_pathv()` to prepare for the change.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.c
path.h