diff options
author | Steven Drake <sdrake@xnet.co.nz> | 2010-02-17 12:42:31 +1300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-17 12:17:35 -0800 |
commit | 90b45187ba51a15c8a80680597240e32421f53bb (patch) | |
tree | a57eb7aa69fdc6249e567321125074cb612ec7e0 /commit.c | |
parent | Git 1.7.0 (diff) | |
download | tgif-90b45187ba51a15c8a80680597240e32421f53bb.tar.xz |
Add `init.templatedir` configuration variable.
Rather than having to pass --template to git init and clone for a custom
setup, `init.templatedir` may be set in '~/.gitconfig'. The environment
variable GIT_TEMPLATE_DIR can already be used for this but this is nicer.
System administrators may prefer using this variable in the system-wide
config file to point at a locally modified copy (e.g. /etc/gittemplate)
rather than editing vanilla template files in '/usr/share'.
Signed-off-by: Steven Drake <sdrake@xnet.co.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions