libgit2/tests/index
Edward Thomson 956f4da897 index: test for smudged entries on write only
Test that entries are only smudged when we write the index: the
entry smudging is to prevent us from updating an index in a way
that it would be impossible to tell that an item was racy.
Consider when we load an index:  any entries that have the same
(or newer) timestamp than the index itself are considered racy,
and are subject to further scrutiny.

If we *save* that index with the same entries that we loaded,
then the index would now have a newer timestamp than the entries,
and they would no longer be given that additional scrutiny, failing
our racy detection!  So test that we smudge those entries only on
writing the new index, but that we can detect them (in diff) without
having to write.
2015-11-16 22:58:59 -05:00
..
addall.c win32: ensure hidden files can be staged 2015-08-03 18:33:15 -05:00
bypath.c index: test that add_bypath preserves symlinks 2015-11-03 12:07:03 -05:00
cache.c Clean up some memory leaks 2014-10-26 22:27:44 -04:00
collision.c conflict tests: use GIT_IDXENTRY_STAGE_SET 2015-05-28 09:44:22 -04:00
conflicts.c Failing test for case sensitive conflicts in the index 2015-11-12 12:11:45 +01:00
crlf.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
filemodes.c index: add tests around case switching 2015-08-14 21:06:51 +02:00
inmemory.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
names.c reset: remove reflog message override 2015-03-03 14:40:50 +01:00
nsec.c index: test that we round-trip nsecs 2015-10-22 09:29:40 -04:00
racy.c index: test for smudged entries on write only 2015-11-16 22:58:59 -05:00
read_index.c index: introduce git_index_read_index 2015-05-11 14:12:05 -04:00
read_tree.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
rename.c Plug some leaks 2015-09-27 23:32:20 +02:00
reuc.c reset: remove reflog message override 2015-03-03 14:40:50 +01:00
stage.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
tests.c git_futils_mkdir_*: make a relative-to-base mkdir 2015-09-17 10:00:35 -04:00