Merge branch 'sg/split-index-racefix'
The codepath to support the experimental split-index mode had remaining "racily clean" issues fixed. * sg/split-index-racefix: split-index: BUG() when cache entry refers to non-existing shared entry split-index: smudge and add racily clean cache entries to split index split-index: don't compare cached data of entries already marked for split index split-index: count the number of deleted entries t1700-split-index: date back files to avoid racy situations split-index: add tests to demonstrate the racy split index problem t1700-split-index: document why FSMONITOR is disabled in this test script
This commit is contained in:
2
cache.h
2
cache.h
@ -783,6 +783,8 @@ extern void *read_blob_data_from_index(const struct index_state *, const char *,
|
||||
#define CE_MATCH_REFRESH 0x10
|
||||
/* don't refresh_fsmonitor state or do stat comparison even if CE_FSMONITOR_VALID is true */
|
||||
#define CE_MATCH_IGNORE_FSMONITOR 0X20
|
||||
extern int is_racy_timestamp(const struct index_state *istate,
|
||||
const struct cache_entry *ce);
|
||||
extern int ie_match_stat(struct index_state *, const struct cache_entry *, struct stat *, unsigned int);
|
||||
extern int ie_modified(struct index_state *, const struct cache_entry *, struct stat *, unsigned int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user