credential-store.c: replace home_config_paths() with xdg_config_home()
commit64ab71db3a7e5b41a37580f8a3d15cb25b3e7093
authorPaul Tan <pyokagan@gmail.com>
Wed, 6 May 2015 08:01:01 +0000 (6 16:01 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 18:33:24 +0000 (6 11:33 -0700)
tree67e7d769b6e2a7560ecd99327c318b2a3f3814ad
parent2845ce7ff1398e851d46b62154293378b74c466d
credential-store.c: replace home_config_paths() with xdg_config_home()

Since only the xdg credentials file path is required, and
home_config_paths() is unable to construct the path ~/.git-credentials,
simplify the code by replacing home_config_paths() with
xdg_config_home().

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