summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorK Jayatheerth <jayatheerthkulkarni2005@gmail.com>2026-06-24 09:07:47 +0530
committerJunio C Hamano <gitster@pobox.com>2026-06-23 21:15:52 -0700
commit1efca6d0b2304360901dccfcbd5ea4f276ecf8c9 (patch)
treed6608e2e12b0c6d4f5d7c8c44dbff67c48dcf622 /t/t4013/diff.diff_initial..side
parent60cafea9078097f051f39c234fb6aa8f6051b2bd (diff)
repo: add path.commondir with absolute and relative suffix formatting
Scripts working with worktree setups need a reliable way to discover the common directory, which diverges from the git directory when multiple worktrees are in use. There is no way to retrieve this path from git repo info today. Introduce path.commondir.absolute and path.commondir.relative keys. Exposing explicit format variants rather than a single key with a default avoids ambiguity for scripts that require predictable output. Mentored-by: Justin Tobler <jltobler@gmail.com> Mentored-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> Signed-off-by: K Jayatheerth <jayatheerthkulkarni2005@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions