Re: [PATCH v8 08/19] read-cache: add watchman 'WAMA' extension

2016-05-05 Thread Junio C Hamano
David Turner writes: > +void write_watchman_ext(struct strbuf *sb, struct index_state* istate) void write_watchman_ext(struct strbuf *sb, struct index_state *istate) Asterisk sticks to the variable, not to the type. -- To unsubscribe from this list: send the line "unsubscribe git" in the body o

[PATCH v8 08/19] read-cache: add watchman 'WAMA' extension

2016-05-05 Thread David Turner
From: Nguyễn Thái Ngọc Duy The extension contains a bitmap, one bit for each entry in the index. If the n-th bit is zero, the n-th entry is considered unchanged, we can ce_mark_uptodate() it without refreshing. If the bit is non-zero and we found out the corresponding file is clean after refresh,