mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 20:33:41 +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
6 lines
207 B
C
6 lines
207 B
C
extern void rewrite_gitmodules(const char *workdir);
|
|
|
|
extern git_repository *setup_fixture_submodules(void);
|
|
extern git_repository *setup_fixture_submod2(void);
|
|
extern void cleanup_fixture_submodules(void);
|