diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-11-16 18:06:52 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-11-16 22:59:02 -0500 |
commit | 5f32c50683cefaf51fa4f8825abfe533f36fe6f3 (patch) | |
tree | fa31ad3589a7044e0c31757943600a9e1fcdfe4c /tests/diff/notify.c | |
parent | c30051f0d0fd6ff74d6e2fbe0fc5b0209ecf8b85 (diff) | |
download | libgit2-5f32c50683cefaf51fa4f8825abfe533f36fe6f3.tar.gz |
racy: make git_index_read_index handle raciness
Ensure that `git_index_read_index` clears the uptodate bit on
files that it modifies.
Further, do not propagate the cache from an on-disk index into
another on-disk index. Although this should not be done, as
`git_index_read_index` is used to bring an in-memory index into
another index (that may or may not be on-disk), ensure that we do
not accidentally bring in these bits when misused.
Diffstat (limited to 'tests/diff/notify.c')
0 files changed, 0 insertions, 0 deletions