diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2014-12-10 19:12:16 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2014-12-16 10:08:59 -0600 |
| commit | 11d67b754d47967642570f796601e8850f001d73 (patch) | |
| tree | f2a37dbee822c346a624b33f054e04b6585299a8 /include/git2/annotated_commit.h | |
| parent | ee5da720e58f8870e5b6b272ef7514c2a717544a (diff) | |
| download | libgit2-11d67b754d47967642570f796601e8850f001d73.tar.gz | |
checkout: disallow bad paths on HFS
HFS filesystems ignore some characters like U+200C. When these
characters are included in a path, they will be ignored for the
purposes of comparison with other paths. Thus, if you have a ".git"
folder, a folder of ".git<U+200C>" will also match. Protect our
".git" folder by ensuring that ".git<U+200C>" and friends do not match it.
Diffstat (limited to 'include/git2/annotated_commit.h')
0 files changed, 0 insertions, 0 deletions
