libgit2/tests-clar/status
Russell Belfer 5dca201072 Update iterators for consistency across library
This updates all the `foreach()` type functions across the library
that take callbacks from the user to have a consistent behavior.
The rules are:

* A callback terminates the loop by returning any non-zero value
* Once the callback returns non-zero, it will not be called again
  (i.e. the loop stops all iteration regardless of state)
* If the callback returns non-zero, the parent fn returns GIT_EUSER
* Although the parent returns GIT_EUSER, no error will be set in
  the library and `giterr_last()` will return NULL if called.

This commit makes those changes across the library and adds tests
for most of the iteration APIs to make sure that they follow the
above rules.
2012-08-03 17:08:01 -07:00
..
ignore.c Add a test showing that git_status_file gets confused by spaces in .gitignore 2012-06-09 17:43:18 -04:00
single.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
status_data.h Fix git_status_file for files that start with a character > 0x7f 2012-06-07 09:50:19 -04:00
status_helpers.c Add cache busting to attribute cache 2012-05-10 11:12:43 -07:00
status_helpers.h Add cache busting to attribute cache 2012-05-10 11:12:43 -07:00
submodules.c Ranged iterators and rewritten git_status_file 2012-05-15 14:34:15 -07:00
worktree.c Update iterators for consistency across library 2012-08-03 17:08:01 -07:00