Files
git/builtin
Nguyễn Thái Ngọc Duy 1a83c240f2 git_snpath(): retire and replace with strbuf_git_path()
In the previous patch, git_snpath() is modified to allocate a new
strbuf buffer because vsnpath() needs that. But that makes it
awkward because git_snpath() receives a pre-allocated buffer from
outside and has to copy data back. Rename it to strbuf_git_path()
and make it receive strbuf directly.

Using git_path() in update_refs_for_switch() which used to call
git_snpath() is safe because that function and all of its callers do
not keep any pointer to the round-robin buffer pool allocated by
get_pathname().

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-12-01 11:00:11 -08:00
..
2014-07-16 11:10:11 -07:00
2014-10-21 13:28:10 -07:00
2014-10-20 12:23:48 -07:00
2014-10-21 13:28:10 -07:00
2014-10-20 12:23:48 -07:00
2014-01-17 12:21:20 -08:00
2014-10-10 16:02:26 -07:00
2014-09-02 13:28:44 -07:00
2014-10-21 13:28:10 -07:00
2014-09-02 12:00:30 -07:00
2014-10-29 10:07:56 -07:00
2014-10-29 10:07:56 -07:00
2014-04-30 10:30:02 -07:00
2014-10-08 13:05:25 -07:00