summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-03-13 14:59:51 -0700
committerRussell Belfer <rb@github.com>2013-03-13 14:59:51 -0700
commitbbb1364671b1a111e4ba9bd6e34e016768306da4 (patch)
treebe2087cb16de9c9a7552d3ac251accf0159cebb6 /tests/diff/binary.c
parentad003763ccb39c0e59f5c1d8372a202541a9049e (diff)
downloadlibgit2-bbb1364671b1a111e4ba9bd6e34e016768306da4.tar.gz
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.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions