author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Wed, 24 Feb 2010 23:34:14 +0000 (00:34 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 25 Feb 2010 00:24:25 +0000 (16:24 -0800) | ||
commit | 48a7c1c49d675fa37b609b499dd9e27439ec7f51 | |
tree | 852effac234c99d76e9a3cacbabdd686acd7832f | tree | snapshot |
parent | e923eaeb901ff056421b9007adcbbce271caa7b6 | commit | diff |
Refactor list of of repo-local env vars
Move the list of GIT_* environment variables that are local to a
repository into a static list in environment.c, as it is also
useful elsewhere. Also add the missing GIT_CONFIG variable to the
list.
Make it easy to use the list both by NULL-termination and by size;
the latter (excluding the terminating NULL) is stored in the
local_repo_env_size define.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Move the list of GIT_* environment variables that are local to a
repository into a static list in environment.c, as it is also
useful elsewhere. Also add the missing GIT_CONFIG variable to the
list.
Make it easy to use the list both by NULL-termination and by size;
the latter (excluding the terminating NULL) is stored in the
local_repo_env_size define.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
connect.c | diff | blob | history | |
environment.c | diff | blob | history |