diff options
| author | Caleb White <cdwhite3@pm.me> | 2024-11-29 22:22:34 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-02 09:36:16 +0900 |
| commit | 1860ba1a2a96c587fca1c294d8288accf9554096 (patch) | |
| tree | e53da3e0b489af4b77942a5f53d593236dbf7553 /setup.h | |
| parent | d897f2c16da9ab9588d2015121449d5bc54c9736 (diff) | |
| download | git-1860ba1a2a96c587fca1c294d8288accf9554096.tar.xz | |
worktree: add `relativeWorktrees` extension
A new extension, `relativeWorktrees`, is added to indicate that at least
one worktree in the repository has been linked with relative paths.
This ensures older Git versions do not attempt to automatically prune
worktrees with relative paths, as they would not not recognize the
paths as being valid.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Caleb White <cdwhite3@pm.me>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'setup.h')
| -rw-r--r-- | setup.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
