Re: [RFC PATCH 0/3] submodules with no working tree shall unset core.worktree

2018-06-13 Thread Stefan Beller
On Wed, Jun 13, 2018 at 11:00 AM Junio C Hamano wrote: > > Stefan Beller writes: > > > 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

Re: [RFC PATCH 0/3] submodules with no working tree shall unset core.worktree

2018-06-13 Thread Junio C Hamano
Stefan Beller writes: > 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. Are there two cases of "doesn't contain working tree of a

[RFC PATCH 0/3] submodules with no working tree shall unset core.worktree

2018-06-12 Thread Stefan Beller
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