diff options
author | Russell Belfer <rb@github.com> | 2013-07-02 16:49:57 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-07-10 12:15:03 -0700 |
commit | 125655fe3f0caf8b3d9fff2ec45ec694b34eed04 (patch) | |
tree | 677bb10e844cc18726ae2720e49987bd7aedfef0 /src/commit.c | |
parent | 9564229af42b68d205376853410c55b957546a14 (diff) | |
download | libgit2-125655fe3f0caf8b3d9fff2ec45ec694b34eed04.tar.gz |
Untracked directories with .git should be ignored
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
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions