git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/6] git worktree move/remove

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Jan 8, 2017, 09:39 UTC
Message-ID
<20170108094003.637-1-pclouds@gmail.com>

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(-)
-- 
2.8.2.524.g6ff3d78
Next: Nguyễn Thái Ngọc Duy
Message 1 of 8 in “git worktree move/remove”
  1. 0/6 git worktree move/removeNguyễn Thái Ngọc Duy, Jan 8, 2017
  2. 1/6 worktree.c: add validate_worktree()Nguyễn Thái Ngọc Duy, Jan 8, 2017
  3. 2/6 worktree.c: add update_worktree_location()Nguyễn Thái Ngọc Duy, Jan 8, 2017
  4. 3/6 worktree move: new commandNguyễn Thái Ngọc Duy, Jan 8, 2017
  5. 4/6 worktree move: accept destination as directoryNguyễn Thái Ngọc Duy, Jan 8, 2017
  6. 5/6 worktree move: refuse to move worktrees with submodulesNguyễn Thái Ngọc Duy, Jan 8, 2017
  7. 6/6 worktree remove: new commandNguyễn Thái Ngọc Duy, Jan 8, 2017
  8. Junio C HamanoJan 9, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.