HOME must be set before calling git-init when creating test repositories
authorAlex Riesen <redacted>
Sat, 26 Mar 2011 18:46:34 +0000 (19:46 +0100)
committerJunio C Hamano <redacted>
Tue, 29 Mar 2011 08:13:36 +0000 (01:13 -0700)
commit90cff968b3757061914f83b85a8d58cb9f29e72a
treea9e21a9be0ee614f1e63c66e3172eacab561a285
parentf1723ee6b370c3d0cfaaea9d02188175a8d85af6
HOME must be set before calling git-init when creating test repositories

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 <redacted>
Acked-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/test-lib.sh
git clone https://git.99rst.org/PROJECT