]> git.ipfire.org Git - thirdparty/git.git/commit - path.h
path: add repo_worktree_path and strbuf_repo_worktree_path
authorBrandon Williams <bmwill@google.com>
Thu, 22 Jun 2017 18:43:41 +0000 (11:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 01:24:34 +0000 (18:24 -0700)
commitb42b0c09199db794b2a34ae9ce293d6711fb6a4f
treedde62fe0f95a623d1780e8ceee3872ec828639ea
parent3181d86320f748b7b4f7a7133f2127e825eed702
path: add repo_worktree_path and strbuf_repo_worktree_path

Introduce 'repo_worktree_path' and 'strbuf_repo_worktree_path' which
take a repository struct and constructs a path relative to the
repository's worktree.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.c
path.h