]> git.ipfire.org Git - thirdparty/git.git/commit
worktree: add `relativeWorktrees` extension
authorCaleb White <cdwhite3@pm.me>
Fri, 29 Nov 2024 22:22:34 +0000 (22:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Dec 2024 00:36:16 +0000 (09:36 +0900)
commit1860ba1a2a96c587fca1c294d8288accf9554096
treee53da3e0b489af4b77942a5f53d593236dbf7553
parentd897f2c16da9ab9588d2015121449d5bc54c9736
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>
Documentation/config/extensions.txt
repository.c
repository.h
setup.c
setup.h