]> git.ipfire.org Git - thirdparty/git.git/commit - config.c
config: expand tildes in include.path variable
authorJeff King <peff@peff.net>
Wed, 25 Apr 2012 12:00:36 +0000 (08:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Apr 2012 00:46:32 +0000 (17:46 -0700)
commit4c0a89fcde219df8db8fdb9635ef2ef40d002a6e
treebc2f0008d9770ff20e56b0baf3e096cdf2230e01
parente8dde3e5f9ddb7cf95a6ff3cea6cf07c3a2db80d
config: expand tildes in include.path variable

You can already use relative paths in include.path, which
means that including "foo" from your global "~/.gitconfig"
will look in your home directory. However, you might want to
do something clever like putting "~/.gitconfig-foo" in a
specific repository's config file.

Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
config.c
t/t1305-config-include.sh