diff options
| author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2025-11-07 17:05:47 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-07 09:01:11 -0800 |
| commit | 12e839a497f0eaf69b2ab016ad03a53e44aefe4d (patch) | |
| tree | f5ab55e847a136d7df394ba65daa85d6d6de9de1 /commit.h | |
| parent | submodule: add extension to encode gitdir paths (diff) | |
| download | git-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
