Introduce GIT_TEMPLATE_DIR
commit8683a45d66967b0969516a2b72cdbf136c2064a2
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 19 Dec 2006 08:18:09 +0000 (19 09:18 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 19 Dec 2006 09:14:59 +0000 (19 01:14 -0800)
treeff543e98be6e36f0960660d4543b5f036917eb58
parent171e800b374c98dd703e906bd9955b2b0410cabe
Introduce GIT_TEMPLATE_DIR

Instead of passing --template explicitely to init-db and clone, you can
just set the environment variable GIT_TEMPLATE_DIR.

Also make use of it in the tests, to make sure that the templates are
copied.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-init-db.c
t/test-lib.sh