Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ignore.c | ||
renames.c | ||
single.c | ||
status_data.h | ||
status_helpers.c | ||
status_helpers.h | ||
submodules.c | ||
worktree.c | ||
worktree_init.c |
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ignore.c | Loading commit data... | |
renames.c | Loading commit data... | |
single.c | Loading commit data... | |
status_data.h | Loading commit data... | |
status_helpers.c | Loading commit data... | |
status_helpers.h | Loading commit data... | |
submodules.c | Loading commit data... | |
worktree.c | Loading commit data... | |
worktree_init.c | Loading commit data... |