From: Steven Drake Date: Tue, 16 Feb 2010 23:42:31 +0000 (+1300) Subject: Add `init.templatedir` configuration variable. X-Git-Tag: v1.7.1-rc0~72^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/90b45187ba51a15c8a80680597240e32421f53bb?hp=90b45187ba51a15c8a80680597240e32421f53bb 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 Signed-off-by: Junio C Hamano ---