Code

clone: respect the settings in $HOME/.gitconfig and /etc/gitconfig
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 27 Jun 2008 12:55:23 +0000 (13:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2008 06:16:32 +0000 (23:16 -0700)
commit5b8063b5b0f56f0da345e8dd7c66d3aced1af673
tree598224878a8e02f23f6b31ba643be419a1e235e9
parentbc0c0d81561bdbb8cb5e1f3af558390f1a0c86cb
clone: respect the settings in $HOME/.gitconfig and /etc/gitconfig

After initializing the config in the newly-created repository, we
need to unset GIT_CONFIG so that the global configs are read again.

Noticed by Pieter de Bie.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c