use git_path_* helper functions
commitca03e0670c3ba71400b0f5ed199b045481efdb1e
authorJeff King <peff@peff.net>
Thu, 20 Apr 2017 21:08:54 +0000 (20 17:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Apr 2017 04:03:51 +0000 (20 21:03 -0700)
tree75e3edb9762cb9caa8a84a09b12a6da97865d3e8
parentc10388c7dc89ec4f8a6c1f7b1fd15d70e8ee0f07
use git_path_* helper functions

Long ago we added functions like git_path_merge_msg() to
replace the more dangerous git_path("MERGE_MSG"). Over time
some new calls to the latter have crept it. Let's convert
them to use the safer form.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/pull.c
sequencer.c