HOME must be set before calling git-init when creating test repositories
authorAlex Riesen <raa.lkml@gmail.com>
Sat, 26 Mar 2011 18:46:34 +0000 (19:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2011 08:13:36 +0000 (01:13 -0700)
Otherwise the created test repositories will be affected by users ~/.gitconfig.
For example, setting core.logAllrefupdates in users config will make all
calls to "git config --unset core.logAllrefupdates" fail which will break
the first test which uses the statement and expects it to succeed.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found