]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-config.c
Use preprocessor constants for environment variable names.
authorJunio C Hamano <junkio@cox.net>
Tue, 19 Dec 2006 09:28:15 +0000 (01:28 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 19 Dec 2006 09:51:51 +0000 (01:51 -0800)
commitd4ebc36c5ee964592303c59260417b758d024c31
treed26506bdce4e91e5eb0df875e8661fa6ac8992df
parent75c384efb52d0e3eb1e8c2f53668b4066fe6a8d6
Use preprocessor constants for environment variable names.

We broke the discipline Linus set up to allow compiler help us
avoid typos in environment names in the early days of git over
time.  This defines a handful preprocessor constants for
environment variable names used in relatively core parts of the
system.

I've left out variable names specific to subsystems such as HTTP
and SSL as I do not think they are big problems.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-init-db.c
builtin-repo-config.c
cache.h
config.c
exec_cmd.c
merge-recursive.c