Skip to content

git worktree move/remove

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6worktree.c: add validate_worktree()worktree.c worktree.h+68 -00 replies
2/6worktree.c: add update_worktree_location()worktree.c worktree.h+27 -00 replies
3/6worktree move: new commandDocumentation/git-worktree.txt builtin/worktree.c contrib/completion/git-completion.bash +1 more+80 -20 replies
4/6worktree move: accept destination as directorybuiltin/worktree.c+18 -10 replies
5/6worktree move: refuse to move worktrees with submodulesbuiltin/worktree.c+23 -00 replies
6/6worktree remove: new commandDocumentation/git-worktree.txt builtin/worktree.c contrib/completion/git-completion.bash +1 more+121 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] git worktree move/remove

This version is the same as nd/worktree-move but with the recursive directory copy code removed. We rely on rename() to move directories.

Nguyễn Thái Ngọc Duy (6):
worktree.c: add validate_worktree() worktree.c: add update_worktree_location() worktree move: new command
worktree move: accept destination as directory worktree move: refuse to move worktrees with submodules worktree remove: new command

 Documentation/git-worktree.txt         |  28 ++++--
 builtin/worktree.c                     | 162 +++++++++++++++++++++++++++++++++
 contrib/completion/git-completion.bash |   5 +-
 t/t2028-worktree-move.sh               |  56 ++++++++++++
 worktree.c                             |  84 +++++++++++++++++
 worktree.h                             |  11 +++
 6 files changed, 335 insertions(+), 11 deletions(-)
Signature · 1 line
2.8.2.524.g6ff3d78