aboutsummaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-13 07:33:43 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-13 07:33:43 -0800
commit3b11c9139ddeed31df2883d068c3054b420e3bf2 (patch)
treea29865dd315c83850fc051e6cb4afb73d1fe7564 /setup.h
parentcd0a222f088992fc42cdd9bc0df4aa25474f0639 (diff)
parent2037ca85ad93ec905b46543df6df4080f6ca258b (diff)
downloadgit-3b11c9139ddeed31df2883d068c3054b420e3bf2.tar.xz
Merge branch 'cw/worktree-extension'
Introduce a new repository extension to prevent older Git versions from mis-interpreting worktrees created with relative paths. * cw/worktree-extension: worktree: refactor `repair_worktree_after_gitdir_move()` worktree: add relative cli/config options to `repair` command worktree: add relative cli/config options to `move` command worktree: add relative cli/config options to `add` command worktree: add `write_worktree_linking_files()` function worktree: refactor infer_backlink return worktree: add `relativeWorktrees` extension setup: correctly reinitialize repository version
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.h b/setup.h
index e496ab3e4d..18dc3b7368 100644
--- a/setup.h
+++ b/setup.h
@@ -129,6 +129,7 @@ struct repository_format {
int precious_objects;
char *partial_clone; /* value of extensions.partialclone */
int worktree_config;
+ int relative_worktrees;
int is_bare;
int hash_algo;
int compat_hash_algo;