getenv/setenv: use constants if available
commit7627943a1bb0cda6f37b66381a62facf9e200285
authorMatthias Lederhofer <matled@gmx.net>
Thu, 28 Jun 2007 14:15:25 +0000 (28 16:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2007 08:33:44 +0000 (2 01:33 -0700)
tree42d37f639f6d8851a7448562b64a281de8a0d45d
parent59c93929c8b98b7be00496d61fae8979bab1841d
getenv/setenv: use constants if available

There were places using "GIT_DIR" instead of GIT_DIR_ENVIRONMENT and
"GIT_CONFIG" instead of CONFIG_ENVIRONMENT.  This makes it easier to
find all places touching an environment variable using git grep or
similar tools.

Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-config.c
path.c