libgit2/tests-clar/diff
Russell Belfer 125655fe3f 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
2013-07-10 12:15:03 -07:00
..
blob.c Add "as_path" parameters to blob and buffer diffs 2013-06-17 17:03:34 -07:00
diff_helpers.c Diff hunk context off by one on long lines 2013-07-05 16:59:38 -07:00
diff_helpers.h More diff rename tests; better split swap handling 2013-05-23 15:06:07 -07:00
diffiter.c Replace diff delta binary with flags 2013-02-20 15:10:21 -08:00
drivers.c Diff hunk context off by one on long lines 2013-07-05 16:59:38 -07:00
index.c Fix some leaks and (possibly) dangling pointers in tests 2012-12-19 08:04:31 +01:00
iterator.c Make iterators use GIT_ITEROVER & smart advance 2013-05-31 12:18:43 -07:00
notify.c Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
patch.c Implement regex pattern diff driver 2013-06-11 11:22:22 -07:00
pathspec.c Add git_pathspec_match_diff API 2013-07-10 20:50:33 +02:00
rename.c Fix compilation warnings 2013-06-29 13:27:55 +02:00
submodules.c Untracked directories with .git should be ignored 2013-07-10 12:15:03 -07:00
tree.c Improve diff config options handling 2013-04-23 12:57:30 -07:00
workdir.c Untracked directories with .git should be ignored 2013-07-10 12:15:03 -07:00