libgit2/tests/diff
Russell Belfer 8a2834d341 Index locking and entry allocation changes
This makes the lock management on the index a little bit broader,
having a number of routines hold the lock across looking up the
item to be modified and actually making the modification.  Still
not true thread safety, but more pure index modifications are now
safe which allows the simple cases (such as starting up a diff
while index modifications are underway) safe enough to get the
snapshot without hitting allocation problems.

As part of this, I simplified the allocation of index entries to
use a flex array and just put the path at the end of the index
entry.  This makes every entry self-contained and makes it a
little easier to feel sure that pointers to strings aren't
being accidentally copied and freed while other references are
still being held.
2014-04-17 14:43:45 -07:00
..
blob.c Add buffer to buffer diff and patch APIs 2014-02-27 14:13:22 -08:00
diff_helpers.c Add public diff print helpers 2014-04-17 14:43:45 -07:00
diff_helpers.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
diffiter.c Drop git_patch_to_str 2014-01-22 17:51:32 +01:00
drivers.c Update Javascript userdiff driver and tests 2014-01-27 11:45:06 -08:00
format_email.c Added a test case for formatting a binary patch e-mail 2014-04-15 17:22:17 +02:00
index.c Remove converting user error to GIT_EUSER 2013-12-11 10:57:49 -08:00
iterator.c Index locking and entry allocation changes 2014-04-17 14:43:45 -07:00
notify.c More improvements to callback return value tests 2013-12-11 11:55:00 -08:00
patch.c Drop git_patch_to_str 2014-01-22 17:51:32 +01:00
pathspec.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
rename.c git_checkout_opts -> git_checkout_options 2014-03-06 09:44:51 -08:00
stats.c Introduce git_diff_get_stats, git_diff_stats_files_changed, git_diff_stats_insertions, git_diff_stats_deletions and git_diff_stats_to_buf 2014-04-15 17:22:12 +02:00
submodules.c Remove most submodule reloads from tests 2014-04-01 13:24:06 -07:00
tree.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
workdir.c Update behavior for untracked sub-repos 2014-03-25 12:37:05 -07:00