Code

repo-config: Fix late-night bug
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 20 Jun 2006 07:45:53 +0000 (09:45 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Jun 2006 08:21:51 +0000 (01:21 -0700)
commit92a28be0ce12a50e0e53268be99130c2ef504c7e
tree140816e7dcfb21db5cba07c71ca2cd085cb1df34
parent5f1a63e0efc750c54a25644a36cf2905495a9b93
repo-config: Fix late-night bug

This bug was hidden by the "future-proofing" of the test. Sigh.

When neither GIT_CONFIG nor GIT_CONFIG_LOCAL is set, do not use NULL,
but $GIT_DIR/config. Instead of using $GIT_DIR/config when only
GIT_CONFIG_LOCAL is set. Sorry.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
repo-config.c