]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.c
update submodules: move up prepare_submodule_repo_env
authorStefan Beller <sbeller@google.com>
Tue, 14 Mar 2017 21:46:35 +0000 (14:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 01:15:54 +0000 (18:15 -0700)
commit6cd5757c898d845747d9886c71cb5884b56e9702
tree85f13c1a83fd8a260b7f5ef30bb5be69a30af7d9
parent84f8925eeb97827e9d334b8b9ff7282177ab9105
update submodules: move up prepare_submodule_repo_env

In a later patch we need to prepare the submodule environment with
another git directory, so split up the function.

Also move it up in the file such that we do not need to declare the
function later before using it.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c