diff options
author | Stefan Beller <sbeller@google.com> | 2017-05-02 12:32:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-04 13:42:04 +0900 |
commit | da27bc81f00fb5315341b26db8879c266e8ba1a2 (patch) | |
tree | b40d63c558a911d838f1166012d930e48429c761 /templates/hooks--pre-receive.sample | |
parent | submodule_move_head: reuse child_process structure for futher commands (diff) | |
download | tgif-da27bc81f00fb5315341b26db8879c266e8ba1a2.tar.xz |
submodule: avoid auto-discovery in new working tree manipulator code
All commands that are run in a submodule, are run in a correct setup,
there is no need to prepare the environment without setting the GIT_DIR
variable. By setting the GIT_DIR variable we fix issues as discussed in
10f5c52656 (submodule: avoid auto-discovery in
prepare_submodule_repo_env(), 2016-09-01)
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-receive.sample')
0 files changed, 0 insertions, 0 deletions