Re: [PATCH v2] worktree: allow to (re)move worktrees with uninitialized submodules

2019-01-05 Thread Eric Sunshine
On Fri, Jan 4, 2019 at 5:51 PM Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > > Uninitialized submodules have nothing valueable for us to be worried > > about. They are just SHA-1. Let "worktree remove" and "worktree move" > > continue in this case so that people can still use multiple w

Re: [PATCH v2] worktree: allow to (re)move worktrees with uninitialized submodules

2019-01-04 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Uninitialized submodules have nothing valueable for us to be worried > about. They are just SHA-1. Let "worktree remove" and "worktree move" > continue in this case so that people can still use multiple worktrees > on repos with optional submodules that are never p

[PATCH v2] worktree: allow to (re)move worktrees with uninitialized submodules

2018-12-16 Thread Nguyễn Thái Ngọc Duy
Uninitialized submodules have nothing valueable for us to be worried about. They are just SHA-1. Let "worktree remove" and "worktree move" continue in this case so that people can still use multiple worktrees on repos with optional submodules that are never populated, like sha1collisiondetection in