]> git.ipfire.org Git - thirdparty/git.git/commit
path: drop `git_pathdup()` in favor of `repo_git_path()`
authorPatrick Steinhardt <ps@pks.im>
Fri, 7 Feb 2025 11:03:32 +0000 (12:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2025 17:59:22 +0000 (09:59 -0800)
commitbba59f58a4eeda6fafaa3d41e14f3d00a179923f
tree51f269e242c52072952c7c35b7ddd2e3df912b28
parent7f17900b5ba2569d9d07352be51ce90a249a0b46
path: drop `git_pathdup()` in favor of `repo_git_path()`

Remove `git_pathdup()` in favor of `repo_git_path()`. The latter does
essentially the same, with the only exception that it does not rely on
`the_repository` but takes the repo as separate parameter.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 files changed:
bisect.c
builtin/am.c
builtin/clone.c
builtin/config.c
builtin/fast-import.c
builtin/fsck.c
builtin/gc.c
builtin/notes.c
builtin/replace.c
builtin/tag.c
builtin/worktree.c
dir.c
http-backend.c
notes-merge.c
object-file.c
path.h