mirror of
https://git.proxmox.com/git/libgit2
synced 2025-11-02 15:56:54 +00:00
This restores a behavior that was accidentally lost during some diff refactoring where an untracked directory that contains a .git item should be treated as IGNORED, not as UNTRACKED. The submodule code already detects this, but the diff code was not handling the scenario right. This also updates a number of existing tests that were actually exercising the behavior but did not have the right expectations in place. It actually makes the new `test_diff_submodules__diff_ignore_options` test feel much better because the "not-a-submodule" entries are now ignored instead of showing up as untracked items. Fixes #1697 |
||
|---|---|---|
| .. | ||
| ignore.c | ||
| renames.c | ||
| single.c | ||
| status_data.h | ||
| status_helpers.c | ||
| status_helpers.h | ||
| submodules.c | ||
| worktree_init.c | ||
| worktree.c | ||