Skip to content

Per-worktree config files

Nguyễn Thái Ngọc Duy git 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 1 replySuperseded
  3. v22 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch14 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2t1300: extract and use test_cmp_config()t/t1300-config.sh t/test-lib-functions.sh+42 -600 replies
2/2worktree: add per-worktree config filesDocumentation/config.txt Documentation/git-config.txt Documentation/git-worktree.txt +7 more+213 -183 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/2] Per-worktree config files

v4 has just one minor change to unbreak a && chain in test_cmp_config.

Nguyễn Thái Ngọc Duy (2):
t1300: extract and use test_cmp_config()
worktree: add per-worktree config files

 Documentation/config.txt               | 12 +++-
 Documentation/git-config.txt           | 26 ++++++---
 Documentation/git-worktree.txt         | 33 +++++++++++
 Documentation/gitrepository-layout.txt |  8 +++
 builtin/config.c                       | 19 ++++++-
 cache.h                                |  2 +
 config.c                               | 11 ++++
 environment.c                          |  1 +
 setup.c                                | 40 ++++++++++---
 t/t1300-config.sh                      | 79 +++++++-------------------
 t/t2029-worktree-config.sh             | 79 ++++++++++++++++++++++++++
 t/test-lib-functions.sh                | 23 ++++++++
 12 files changed, 255 insertions(+), 78 deletions(-)
 create mode 100755 t/t2029-worktree-config.sh

Range-diff against v3:
1: 445f985619 ! 1: 23c2ee8844 t1300: extract and use test_cmp_config()

    @@ -201,7 +201,7 @@
     +#    test_cmp_config foo core.bar
     +#
     +test_cmp_config() {
    -+	local GD
    ++	local GD &&
     +	if test "$1" = "-C"
     +	then
     +		shift &&

2: 4c2d1bb37d = 2: 0d4dc8c6b0 worktree: add per-worktree config files

Signature · 1 line
2.19.1.647.g708186aaf9