mirror of
https://git.proxmox.com/git/libgit2
synced 2026-08-15 14:52:54 +00:00
When traversing the directory structure, the iterator pushes and pops ignore files using a vector. Some directories don't have ignore files, so it uses a path comparison to decide when it is right to actually pop the last ignore file. This was only comparing directory suffixes, though, so a subdirectory with the same name as a parent could result in the parent's .gitignore being popped off the list ignores too early. This changes the logic to compare the entire relative path of the ignore file. |
||
|---|---|---|
| .. | ||
| ignore.c | ||
| renames.c | ||
| single.c | ||
| status_data.h | ||
| status_helpers.c | ||
| status_helpers.h | ||
| submodules.c | ||
| worktree_init.c | ||
| worktree.c | ||