aboutsummaryrefslogtreecommitdiffstats
path: root/notes-merge.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-02-07 12:03:27 +0100
committerJunio C Hamano <gitster@pobox.com>2025-02-07 09:59:21 -0800
commitbdfc07bfdf3f4f4ef94580c0cb46eef5977bb810 (patch)
treeec25e305b583e03f6fbacf8f5594d7188d86fdb8 /notes-merge.c
parentpath: refactor `repo_common_path()` family of functions (diff)
downloadgit-bdfc07bfdf3f4f4ef94580c0cb46eef5977bb810.tar.gz
git-bdfc07bfdf3f4f4ef94580c0cb46eef5977bb810.zip
path: refactor `repo_git_path()` family of functions
As explained in an earlier commit, we're refactoring path-related functions to provide a consistent interface for computing paths into the commondir, gitdir and worktree. Refactor the "gitdir" family of functions accordingly. Note that the `repo_git_pathv()` function is converted into an internal implementation detail. It is only used to implement `the_repository` compatibility shims and will eventually be removed from the public interface. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-merge.c')
0 files changed, 0 insertions, 0 deletions