]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: remove ensure-core-worktree
authorGlen Choo <chooglen@google.com>
Sat, 5 Mar 2022 00:13:59 +0000 (16:13 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Mar 2022 00:39:12 +0000 (16:39 -0800)
commit97cb977c8243c3393a85d662456a1e161596f211
tree412895f8cf7cf851f1d4230de37f18defe35de43
parent29a5e9e1ffeadb0555fdd2f366f1cb7259462ab9
submodule--helper: remove ensure-core-worktree

Move the logic of "git submodule--helper ensure-core-worktree" into
run-update-procedure, and since this makes the ensure-core-worktree
command obsolete, remove it.

As a result, the order of two operations in git-submodule.sh is
reversed: 'set the value of core.worktree' now happens after the call to
"git submodule--helper relative-path". This is safe - "relative-path"
does not depend on the value of core.worktree.

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
git-submodule.sh