submodules with no working tree shall unset core.worktree
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Changes in v1 from the cover letter
The first patch teaches checkout/reset (with --recurse-submodules) to unset the core.worktree config when the new state of the superprojects working tree doesn't contain the submodules working tree.
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] submodules with no working tree shall unset core.worktree
v2:
* fixed quoting issues for white space'd names/paths
v1:
The first patch teaches checkout/reset (with --recurse-submodules) to unset the core.worktree config when the new state of the superprojects working tree doesn't contain the submodules working tree.
The last patch is teaching "git submodule deinit" to unset the core.worktree setting as well. It turned out this one is tricky, as for that we also have to set it in the counter part, such as "submodule update".
Thanks,
Stefan
Stefan Beller (3):
submodule: unset core.worktree if no working tree is present
submodule: ensure core.worktree is set after update submodule deinit: unset core.worktree
builtin/submodule--helper.c | 26 ++++++++++++++++++++++++++ git-submodule.sh | 5 +++++ submodule.c | 14 ++++++++++++++ submodule.h | 2 ++ t/lib-submodule-update.sh | 5 +++-- t/t7400-submodule-basic.sh | 5 +++++ 6 files changed, 55 insertions(+), 2 deletions(-)
Signature · 1 line
2.18.0.rc1.244.gcf134e6275-goog