diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-10-26 14:22:10 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-26 14:22:10 +0900 |
commit | 7a43ab6fb25924ca018073ef7ef46e16b3156bd0 (patch) | |
tree | 08b311fbea07553319c3cd651908dce9aee98505 /read-cache.c | |
parent | 3c4a8214a07d3903c1563ee0bd98a886874146b6 (diff) | |
parent | 4c490f3d321da415b8d3bec4a04565906657b9c9 (diff) | |
download | git-7a43ab6fb25924ca018073ef7ef46e16b3156bd0.tar.gz |
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
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c index 1df5c16dbc..d57958233e 100644 --- a/read-cache.c +++ b/read-cache.c @@ -345,7 +345,7 @@ static int is_racy_stat(const struct index_state *istate, ); } -static int is_racy_timestamp(const struct index_state *istate, +int is_racy_timestamp(const struct index_state *istate, const struct cache_entry *ce) { return (!S_ISGITLINK(ce->ce_mode) && |