libgit2/tests-clar/index
Russell Belfer 7863523a1b Add tests and fix use of freed memory
This adds some tests for updating the index and having it remove
items to make sure that the iteration over the index still works
even as earlier items are removed.

In testing with valgrind, this found a path that would use the
path string from the index entry after it had been freed.  The
bug fix is simply to copy the path of the index entry before
doing any actual index manipulation.
2013-06-19 15:54:19 -07:00
..
addall.c Add tests and fix use of freed memory 2013-06-19 15:54:19 -07:00
conflicts.c introduce git_conflict_iterator 2013-05-17 16:10:48 -05:00
filemodes.c Add cl_repo_set_bool and cleanup tests 2013-03-22 14:27:56 -07:00
inmemory.c add an index_remove_bypath that removes conflicts, renamed add_from_workdir to match 2013-01-12 13:47:56 -06:00
names.c Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
read_tree.c add an index_remove_bypath that removes conflicts, renamed add_from_workdir to match 2013-01-12 13:47:56 -06:00
rename.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
reuc.c Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
stage.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
tests.c Test has to work on case sensitive systems 2013-06-17 10:03:49 -07:00