]> git.99rst.org Git - git.git/commit
submodule--helper: remove ensure-core-worktree
authorGlen Choo <redacted>
Sat, 5 Mar 2022 00:13:59 +0000 (16:13 -0800)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/submodule--helper.c
git-submodule.sh
git clone https://git.99rst.org/PROJECT