Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | ||
diff_helpers.c | ||
diff_helpers.h | ||
diffiter.c | ||
drivers.c | ||
index.c | ||
iterator.c | ||
notify.c | ||
patch.c | ||
pathspec.c | ||
rename.c | ||
submodules.c | ||
tree.c | ||
workdir.c |
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | Loading commit data... | |
diff_helpers.c | Loading commit data... | |
diff_helpers.h | Loading commit data... | |
diffiter.c | Loading commit data... | |
drivers.c | Loading commit data... | |
index.c | Loading commit data... | |
iterator.c | Loading commit data... | |
notify.c | Loading commit data... | |
patch.c | Loading commit data... | |
pathspec.c | Loading commit data... | |
rename.c | Loading commit data... | |
submodules.c | Loading commit data... | |
tree.c | Loading commit data... | |
workdir.c | Loading commit data... |