Thread (1 message) 1 message, 1 author, 2016-06-16

Re: [PATCH v3 09/16] index-helper: use watchman to avoid refreshing index with lstat()

From: Junio C Hamano <hidden>
Date: 2016-06-16 02:18:42

David Turner [off-list ref] writes:
quoted hunk
diff --git a/read-cache.c b/read-cache.c
index 59d892e..b6e9244 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -1407,10 +1472,24 @@ static int read_watchman_ext(struct index_state *istate, const void *data,
 	ewah_each_bit(bitmap, mark_no_watchman, istate);
 	ewah_free(bitmap);
 
-	/*
-	 * TODO: update the untracked cache from the untracked data in this
-	 * extension.
-	 */
+	if (istate->untracked && istate->untracked->root) {
+		int i;
+		const char *untracked;
+
+		untracked = data + len + 8 + bitmap_size;
This breaks compilation as data here is of type (void *).

There may be similar breakages in this patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help