libgit2/tests-clar/repo
Russell Belfer bbb1364671 Fix workdir iterator bugs
This fixes two bugs with the workdir iterator depth check: first
that the depth was not being decremented and second that empty
directories were counting against the depth even though a frame
was not being created for them.

This also fixes a bug with the ENOTFOUND return code for workdir
iterators when you attempt to advance_into an empty directory.
Actually, that works correctly, but it was incorrectly being
propogated into regular advance() calls in some circumstances.

Added new tests for the above that create a huge hierarchy on
the fly and try using the workdir iterator to traverse it.
2013-03-13 14:59:51 -07:00
..
discover.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
getters.c repo: ensure is_empty() checks there are no refs 2012-11-17 07:20:08 -08:00
hashfile.c Add tests and improve param checks 2012-09-11 17:26:21 -07:00
head.c Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
headtree.c repo: Make git_repository_head_tree() return error codes 2012-11-22 18:51:06 +01:00
init.c Make mode handling during init more like git 2013-02-27 13:44:15 -08:00
iterator.c Fix workdir iterator bugs 2013-03-13 14:59:51 -07:00
message.c tests: fix indentation in repo/message.c 2013-02-07 03:12:39 -08:00
open.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
repo_helpers.c Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
repo_helpers.h repository: Refine repository_head() error report 2012-11-12 00:14:51 +01:00
setters.c Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
state.c repo: fix state when HEAD is not detached 2012-11-04 12:13:42 -06:00