aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2025-11-07 17:05:47 +0200
committerJunio C Hamano <gitster@pobox.com>2025-11-07 09:01:11 -0800
commit12e839a497f0eaf69b2ab016ad03a53e44aefe4d (patch)
treef5ab55e847a136d7df394ba65daa85d6d6de9de1 /commit.h
parentsubmodule: add extension to encode gitdir paths (diff)
downloadgit-12e839a497f0eaf69b2ab016ad03a53e44aefe4d.tar.gz
git-12e839a497f0eaf69b2ab016ad03a53e44aefe4d.zip
submodule: fix case-folding gitdir filesystem colisions
Add a new check in validate_submodule_git_dir() to detect and prevent case-folding filesystem colisions. When this new check is triggered, a stricter casefolding aware URI encoding is used to percent-encode uppercase characters, e.g. Foo becomes %46oo. By using this check/retry mechanism the uppercase encoding is only applied when necessary, so case-sensitive filesystems are not affected. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions