Changes from the previous iteration:
* moved the static list to environment.c, per Junio's suggestion
* added a local_repo_env_size constant. It's cheap, and it helps
prevent some horrible gimmicks when the list size needs to be known
without walking it
* a variation on Junio's variation on Jens' patch for submodule.c,
using the static list _and_ the size constant.
Giuseppe Bilotta (6):
environment: static list of repo-local env vars
connect: use static list of repo-local env vars
rev-parse: --local-env-vars option
shell setup: clear_local_git_env() function
submodules: ensure clean environment when operating in a submodule
is_submodule_modified(): clear environment properly
Documentation/git-rev-parse.txt | 6 ++++++
builtin-rev-parse.c | 8 ++++++++
cache.h | 3 +++
connect.c | 13 +------------
environment.c | 15 +++++++++++++++
git-sh-setup.sh | 7 +++++++
git-submodule.sh | 20 ++++++++++----------
submodule.c | 23 +++++++++++++----------
8 files changed, 63 insertions(+), 32 deletions(-)