git-commit: replace use of home_config_paths()
commite682c9db1a7c6a81bb4c2e8e8c1d5191dae3bd9f
authorPaul Tan <pyokagan@gmail.com>
Wed, 6 May 2015 08:01:02 +0000 (6 16:01 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 18:33:42 +0000 (6 11:33 -0700)
treef0a5f48040e9fadf20397157f78b5c6fa1229bc9
parent64ab71db3a7e5b41a37580f8a3d15cb25b3e7093
git-commit: replace use of home_config_paths()

Since home_config_paths() combines two distinct functionality already
implemented by expand_user_path() and xdg_config_home(), and hides the
home config file path ~/.gitconfig. Make the code more explicit by
replacing the use of home_config_paths() with expand_user_path() and
xdg_config_home().

Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c