files-backend: convert git_path() to strbuf_git_path()
commite9dcc3054fb0fdf0faafd0ef57a238f4a692fb23
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 26 Mar 2017 02:42:20 +0000 (26 09:42 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2017 17:23:39 +0000 (27 10:23 -0700)
tree86880acd4ea408ae7e52ff96343c4675fcc0124e
parent0a3f07d6c0ce8ee3fb315d582a0eaaba56fb7873
files-backend: convert git_path() to strbuf_git_path()

git_path() and friends are going to be killed in files-backend.c in near
future. And because there's a risk with overwriting buffer in
git_path(), let's convert them all to strbuf_git_path(). We'll have
easier time killing/converting strbuf_git_path() then because we won't
have to worry about memory management again.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c