path: add repo_git_path and strbuf_repo_git_path
authorBrandon Williams <bmwill@google.com>
Thu, 22 Jun 2017 18:43:40 +0000 (11:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 01:24:34 +0000 (18:24 -0700)
commit3181d86320f748b7b4f7a7133f2127e825eed702
tree36d81a714445306e298932642ec2653be76ff8e1
parent543107333b3ed004bee282a83a518c7550d5a393
path: add repo_git_path and strbuf_repo_git_path

Introduce 'repo_git_path' and 'strbuf_repo_git_path' which take a
repository struct and constructs a path into the repository's git
directory.

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