Changes from the previous iteration:
* the first two patches were squashed together
* local_repo_env_size is now a #define to the number of non-NULL entries in
the list of repo-local env vars. The last patch is consequently adjusted.
Giuseppe Bilotta (5):
Refactor list of 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 | 8 ++++++++
connect.c | 14 ++------------
environment.c | 15 +++++++++++++++
git-sh-setup.sh | 7 +++++++
git-submodule.sh | 20 ++++++++++----------
submodule.c | 21 +++++++++++----------
8 files changed, 67 insertions(+), 32 deletions(-)