summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorK Jayatheerth <jayatheerthkulkarni2005@gmail.com>2026-06-24 09:07:48 +0530
committerJunio C Hamano <gitster@pobox.com>2026-06-23 21:15:52 -0700
commit3ac28d832aefe06e0fb9390d3e20a9c32350e052 (patch)
tree1b3c8c094904c3c3477d58713b06fa51484a5028 /t/t4013/diff.diff_initial..side
parent1efca6d0b2304360901dccfcbd5ea4f276ecf8c9 (diff)
repo: add path.gitdir with absolute and relative suffix formatting
Scripts need a stable way to locate the git directory without parsing rev-parse output or relying on its flag-driven path format selection. There is no way to retrieve this path from git repo info today. Introduce path.gitdir.absolute and path.gitdir.relative keys, consistent with the path.commondir keys added in the previous patch. Reuse the test_repo_info_path helper introduced there to validate both variants. 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