author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Wed, 30 Dec 2009 16:51:53 +0000 (17:51 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 31 Dec 2009 20:19:38 +0000 (12:19 -0800) | ||
commit | 1349484e341a3ec2ba02a86c8fbd97ea9dc8c756 | |
tree | 5c2d753daa7234da64de974c1badcc4973b35e79 | tree | snapshot |
parent | 902f235378cb2b2f6dd5dd664b9630c95321f0ae | commit | diff |
builtin-config: add --path option doing ~ and ~user expansion.
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>
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>
Documentation/git-config.txt | diff | blob | history | |
builtin-config.c | diff | blob | history | |
t/t1300-repo-config.sh | diff | blob | history |