mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-04 04:49:18 +00:00
On case insensitive systems, when given a user-provided path in the higher-level index addition functions (eg `git_index_add_bypath` / `git_index_add_frombuffer`), examine the index to try to match the given path to an existing directory. Various mechanisms can cause the on-disk representation of a folder to not match the representation in HEAD or the index - for example, a case changing rename of some file `a/file.txt` to `A/file.txt` will update the paths in the index, but not rename the folder on disk. If a user subsequently adds `a/other.txt`, then this should be stored in the index as `A/other.txt`. |
||
|---|---|---|
| .. | ||
| addall.c | ||
| bypath.c | ||
| cache.c | ||
| collision.c | ||
| conflicts.c | ||
| crlf.c | ||
| filemodes.c | ||
| inmemory.c | ||
| names.c | ||
| racy.c | ||
| read_index.c | ||
| read_tree.c | ||
| rename.c | ||
| reuc.c | ||
| stage.c | ||
| tests.c | ||