libgit2/tests-clar/repo
Russell Belfer cee695ae6b Make iterators use GIT_ITEROVER & smart advance
1. internal iterators now return GIT_ITEROVER when you go past the
   last item in the iteration.
2. git_iterator_advance will "advance" to the first item in the
   iteration if it is called immediately after creating the
   iterator, which allows a simpler idiom for basic iteration.
3. if git_iterator_advance encounters an error reading data (e.g.
   a missing tree or an unreadable file), it returns the error
   but also attempts to advance past the invalid data to prevent
   an infinite loop.

Updated all tests and internal usage of iterators to account for
these new behaviors.
2013-05-31 12:18:43 -07:00
..
config.c More tests of config with various absent files 2013-05-23 15:57:52 -07:00
discover.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
getters.c Make refcounting atomic 2013-04-22 17:12:11 +02:00
hashfile.c Add cl_repo_set_bool and cleanup tests 2013-03-22 14:27:56 -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 Add cl_repo_set_bool and cleanup tests 2013-03-22 14:27:56 -07:00
iterator.c Make iterators use GIT_ITEROVER & smart advance 2013-05-31 12:18:43 -07:00
message.c Fix git_repository_message docs 2013-05-09 06:45:06 -07:00
open.c repo: unconditionally create a global config backend 2013-05-07 21:42:56 +02: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 Make refcounting atomic 2013-04-22 17:12:11 +02:00
shallow.c Improve test failure output 2013-05-23 15:35:50 -07:00
state.c repo: fix state when HEAD is not detached 2012-11-04 12:13:42 -06:00