libgit2/tests-clar/status
Russell Belfer 1f9e41ee86 Improve ignore handling in git_status_file
The git_status_file API was doing a hack to deal with files that
are inside ignored directories.  The status scan was not reporting
any file in this case, so git_status_file would attempt a final
"stat()" call, and return IGNORED if the file actually existed.

On case-insensitive filesystems where core.ignorecase is set
incorrectly, this magic check can "succeed" and report a file
as ignored when it should actually return ENOTFOUND.

Now that we have the GIT_STATUS_OPT_RECURSE_IGNORED_DIRS, we can
use that flag to make sure that git_status_file() will look into
ignored directories and eliminate the hack completely, so we give
the correct error.
2013-05-10 07:50:53 -07:00
..
ignore.c Fix some diff ignores and submodule dirty workdir 2013-03-25 23:58:40 -07:00
single.c Fix error hashing empty file. 2012-09-27 13:12:27 -04:00
status_data.h Support for core.ignorecase 2012-09-17 15:42:41 -04:00
status_helpers.c Update diff handling of untracked directories 2013-04-30 04:25:56 -07:00
status_helpers.h Update diff handling of untracked directories 2013-04-30 04:25:56 -07:00
submodules.c Tests and more fixes for submodule diffs 2013-04-09 14:52:32 -07:00
worktree_init.c Move some low-level repo fns to include/git2/sys 2013-04-21 11:50:56 -07:00
worktree.c Improve ignore handling in git_status_file 2013-05-10 07:50:53 -07:00