Set GIT_TEMPLATE_DIR in the testsuite, like it's done in git
commit1275d9921fb6d07cc68591786a1e825a388dbe38
authorPavel Roskin <proski@gnu.org>
Mon, 10 Sep 2007 02:48:15 +0000 (9 22:48 -0400)
committerKarl Hasselström <kha@treskal.com>
Tue, 11 Sep 2007 03:57:14 +0000 (11 05:57 +0200)
tree90aa957dce42b992279c5e07b2a4fe5ad8cb0c95
parent130df01aee26a4bfca276047ae1ba914352453c5
Set GIT_TEMPLATE_DIR in the testsuite, like it's done in git

Otherwise, the git configuration affects the testsuite.  Since we don't
have git templates in the source tree, use our "template" directory.
No templates are really needed, it's just a directory with known
contents.

Remove the command that moves .git/hooks away, as it's not created
anymore.  Create empty .git/info/, as some tests assume it to exist.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Karl Hasselström <kha@treskal.com>
t/test-lib.sh