builtin-config: add --path option doing ~ and ~user expansion.
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 30 Dec 2009 16:51:53 +0000 (17:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Dec 2009 20:19:38 +0000 (12:19 -0800)
395de250 (Expand ~ and ~user in core.excludesfile, commit.template)
introduced a C function git_config_pathname, doing ~/ and ~user/
expansion. This patch makes the feature available to scripts with 'git
config --get --path'.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found