]> git.ipfire.org Git - thirdparty/git.git/commit - path.h
path.h: make REPO_GIT_PATH_FUNC repository agnostic
authorStefan Beller <sbeller@google.com>
Sat, 15 Dec 2018 00:09:41 +0000 (16:09 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Dec 2018 18:06:33 +0000 (10:06 -0800)
commitb6b24fc57bb2132955756771f9588a3cfb050350
tree7917cc4ca18299c23b902f97929e7e8e8276b364
parent6a7895fd8a3bd409f2b71ffc355d5142172cc2a0
path.h: make REPO_GIT_PATH_FUNC repository agnostic

git_pathdup uses the_repository internally, but the macro
REPO_GIT_PATH_FUNC is specifically made for arbitrary repositories.
Switch to repo_git_path which works on arbitrary repositories.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.h