Re: [PATCH 5/6] worktree move: refuse to move worktrees with submodules

2017-04-20 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Submodules contains .git files with relative paths. After a worktree > move, these files need to be updated or they may point to nowhere. > > This is a bandage patch to make sure "worktree move" don't break > people's worktrees by accident. When .git file update co

[PATCH 5/6] worktree move: refuse to move worktrees with submodules

2017-04-20 Thread Nguyễn Thái Ngọc Duy
Submodules contains .git files with relative paths. After a worktree move, these files need to be updated or they may point to nowhere. This is a bandage patch to make sure "worktree move" don't break people's worktrees by accident. When .git file update code is in place, this validate_no_submodul

[PATCH 5/6] worktree move: refuse to move worktrees with submodules

2017-01-08 Thread Nguyễn Thái Ngọc Duy
Submodules contains .git files with relative paths. After a worktree move, these files need to be updated or they may point to nowhere. This is a bandage patch to make sure "worktree move" don't break people's worktrees by accident. When .git file update code is in place, this validate_no_submodul