nd/multiple-work-trees
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest32 patches 3 repliesIn review
- v232 patches 17 repliesSuperseded
- v132 patches 15 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | path.c: make get_pathname() return strbuf instead of static bufferpath.c | +51 | 0 replies | |
| 2/32 | path.c: make get_pathname() call sites return const char *builtin/ builtin/ builtin/ +12 more | +36 | 0 replies | |
| 3/32 | git_snpath(): retire and replace with strbuf_git_path()builtin/ cache.h path.c +2 more | +61 | 0 replies | |
| 4/32 | path.c: rename vsnpath() to do_git_path()path.c | +4 | 0 replies | |
| 5/32 | path.c: group git_path(), git_pathdup() and strbuf_git_path() togetherpath.c | +10 | 0 replies | |
| 6/32 | git_path(): be aware of file relocation in $GIT_DIRDocumentation/ builtin/ cache.h +3 more | +95 | 0 replies | |
| 7/32 | *.sh: respect $GIT_INDEX_FILEgit-pull.sh git-stash.sh | +2 | 0 replies | |
| 8/32 | reflog: avoid constructing .lock path with git_pathbuiltin/ | +1 | 0 replies | |
| 9/32 | fast-import: use git_path() for accessing .git dir instead of get_git_dir()fast-import.c | +1 | 0 replies | |
| 10/32 | commit: use SEQ_DIR instead of hardcoding "sequencer"builtin/ | +1 | 0 replies | |
| 11/32 | $GIT_COMMON_DIR: a new environment variableDocumentation/ Documentation/ cache.h +3 more | +116 | 0 replies | |
| 12/32 | git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objectsgit-sh-setup.sh | +1 | 0 replies | |
| 13/32 | *.sh: avoid hardcoding $GIT_DIR/hooks/...git-am.sh git-rebase--interactive.sh git-rebase--merge.sh +3 more | +22 | 0 replies | |
| 14/32 | git-stash: avoid hardcoding $GIT_DIR/logs/....git-stash.sh | +2 | 0 replies | |
| 15/32 | setup.c: convert is_git_directory() to use strbufsetup.c | +21 | 0 replies | |
| 16/32 | setup.c: detect $GIT_COMMON_DIR in is_git_directory()Documentation/ setup.c | +44 | 0 replies | |
| 17/32 | setup.c: convert check_repository_format_gently to use strbufsetup.c | +8 | 0 replies | |
| 18/32 | setup.c: detect $GIT_COMMON_DIR check_repository_format_gently()setup.c | +4 | 0 replies | |
| 19/32 | setup.c: support multi-checkout repo setupDocumentation/ Documentation/ builtin/ +6 more | +115 | 1 reply | |
| 20/32 | wrapper.c: wrapper to open a file, fprintf then closecache.h wrapper.c | +33 | 0 replies | |
| 21/32 | use new wrapper write_file() for simple file writingbuiltin/ builtin/ daemon.c +2 more | +8 | 0 replies | |
| 22/32 | checkout: support checking out into a new working directoryDocumentation/ Documentation/ Documentation/ +3 more | +212 | 0 replies | |
| 23/32 | prune: strategies for linked checkoutsDocumentation/ Documentation/ Documentation/ +4 more | +251 | 1 reply | |
| 24/32 | checkout: reject if the branch is already checked out elsewherebuiltin/ t/ | +104 | 0 replies | |
| 25/32 | checkout: clean up half-prepared directories in --to modebuiltin/ t/ | +54 | 0 replies | |
| 26/32 | gc: style change -- no SP before closing parenthesisbuiltin/ | +1 | 0 replies | |
| 27/32 | gc: factor out gc.pruneexpire parsing codebuiltin/ | +12 | 0 replies | |
| 28/32 | gc: support prune --worktreesDocumentation/ Documentation/ builtin/ | +24 | 0 replies | |
| 29/32 | count-objects: report unused files in $GIT_DIR/worktrees/...builtin/ cache.h path.c | +31 | 0 replies | |
| 30/32 | git_path(): keep "info/sparse-checkout" per work-treepath.c t/ | +3 | 0 replies | |
| 31/32 | checkout: don't require a work tree when checking out into a new onebuiltin/ git.c t/ | +19 | 0 replies | |
| 32/32 | t2025: add a test to make sure grafts is working from a linked checkoutt/ | +18 | 0 replies |
Reviews trailers per patch
None of the 32 patches has a Reviewed-by or Acked-by.
| Patch | Marc Branchaud | Eric Sunshine |
|---|---|---|
| 1/32 | ||
| 2/32 | ||
| 3/32 | ||
| 4/32 | ||
| 5/32 | ||
| 6/32 | ||
| 7/32 | ||
| 8/32 | ||
| 9/32 | ||
| 10/32 | ||
| 11/32 | ||
| 12/32 | ||
| 13/32 | ||
| 14/32 | ||
| 15/32 | ||
| 16/32 | ||
| 17/32 | ||
| 18/32 | ||
| 19/32 | ||
| 20/32 | ||
| 21/32 | ||
| 22/32 | Helped-by | |
| 23/32 | Helped-by | Helped-by |
| 24/32 | ||
| 25/32 | ||
| 26/32 | ||
| 27/32 | ||
| 28/32 | Helped-by | |
| 29/32 | ||
| 30/32 | ||
| 31/32 | ||
| 32/32 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/32] nd/multiple-work-trees
Quoted 2 lines · Junio C Hamano
It has been a while since the last review exchanges were seen. Will it be time for v3 soon?
Sorry I've been slow on picking up feedback from v2. v3 is rebased on latest master. Other changes are mostly *.txt, and one broken && chain.
Dennis Kaarsemaker (1):
checkout: don't require a work tree when checking out into a new one
Nguyễn Thái Ngọc Duy (31):
path.c: make get_pathname() return strbuf instead of static buffer path.c: make get_pathname() call sites return const char * git_snpath(): retire and replace with strbuf_git_path()
path.c: rename vsnpath() to do_git_path()
path.c: group git_path(), git_pathdup() and strbuf_git_path() together git_path(): be aware of file relocation in $GIT_DIR
*.sh: respect $GIT_INDEX_FILE
reflog: avoid constructing .lock path with git_path
fast-import: use git_path() for accessing .git dir instead of get_git_dir()
commit: use SEQ_DIR instead of hardcoding "sequencer" $GIT_COMMON_DIR: a new environment variable
git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objects *.sh: avoid hardcoding $GIT_DIR/hooks/...
git-stash: avoid hardcoding $GIT_DIR/logs/....
setup.c: convert is_git_directory() to use strbuf
setup.c: detect $GIT_COMMON_DIR in is_git_directory()
setup.c: convert check_repository_format_gently to use strbuf setup.c: detect $GIT_COMMON_DIR check_repository_format_gently() setup.c: support multi-checkout repo setup
wrapper.c: wrapper to open a file, fprintf then close
use new wrapper write_file() for simple file writing
checkout: support checking out into a new working directory
prune: strategies for linked checkouts
checkout: reject if the branch is already checked out elsewhere
checkout: clean up half-prepared directories in --to mode
gc: style change -- no SP before closing parenthesis
gc: factor out gc.pruneexpire parsing code
gc: support prune --worktrees
count-objects: report unused files in $GIT_DIR/worktrees/... git_path(): keep "info/sparse-checkout" per work-tree
t2025: add a test to make sure grafts is working from a linked checkout
Documentation/config.txt | 9 + Documentation/git-checkout.txt | 69 ++++++++ Documentation/git-prune.txt | 3 + Documentation/git-rev-parse.txt | 10 ++ Documentation/git.txt | 9 + Documentation/gitrepository-layout.txt | 78 +++++++-- builtin/branch.c | 4 +- builtin/checkout.c | 260 ++++++++++++++++++++++++++++- builtin/clone.c | 9 +- builtin/commit.c | 2 +- builtin/count-objects.c | 4 +- builtin/fetch.c | 5 +- builtin/fsck.c | 4 +- builtin/gc.c | 34 ++-- builtin/init-db.c | 7 +- builtin/prune.c | 95 +++++++++++ builtin/receive-pack.c | 2 +- builtin/reflog.c | 2 +- builtin/remote.c | 2 +- builtin/repack.c | 8 +- builtin/rev-parse.c | 11 ++ cache.h | 17 +- daemon.c | 11 +- environment.c | 33 +++- fast-import.c | 7 +- git-am.sh | 22 +-- git-pull.sh | 2 +- git-rebase--interactive.sh | 6 +- git-rebase--merge.sh | 6 +- git-rebase.sh | 4 +- git-sh-setup.sh | 2 +- git-stash.sh | 6 +- git.c | 2 +- notes-merge.c | 6 +- path.c | 234 +++++++++++++++++--------- refs.c | 86 ++++++---- refs.h | 2 +- run-command.c | 4 +- run-command.h | 2 +- setup.c | 124 +++++++++++--- sha1_file.c | 2 +- submodule.c | 9 +- t/t0060-path-utils.sh | 36 ++++ t/t1501-worktree.sh | 76 +++++++++ t/t1510-repo-setup.sh | 1 + t/t2025-checkout-to.sh (new +x) | 117 +++++++++++++ t/t2026-prune-linked-checkouts.sh (new +x) | 84 ++++++++++ templates/hooks--applypatch-msg.sample | 4 +- templates/hooks--pre-applypatch.sample | 4 +- trace.c | 1 + transport.c | 8 +- wrapper.c | 31 ++++ 52 files changed, 1306 insertions(+), 270 deletions(-) create mode 100755 t/t2025-checkout-to.sh create mode 100755 t/t2026-prune-linked-checkouts.sh
Signature · 1 line
2.1.0.rc0.78.gc0d8480