Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
preload-index.c: use the right index instead of the_index
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 13 Aug 2018 16:14:23 +0000
(18:14 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 13 Aug 2018 21:14:42 +0000
(14:14 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
preload-index.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
6d2df28
)
diff --git
a/preload-index.c
b/preload-index.c
index d61d7662d5830866dd2d6d657a678d09b0886787..71cd2437a3b33b343696bf96067603e8dc9e4464 100644
(file)
--- a/
preload-index.c
+++ b/
preload-index.c
@@
-58,7
+58,7
@@
static void *preload_thread(void *_data)
continue;
if (ce->ce_flags & CE_FSMONITOR_VALID)
continue;
- if (!ce_path_match(
&the_
index, ce, &p->pathspec, NULL))
+ if (!ce_path_match(index, ce, &p->pathspec, NULL))
continue;
if (threaded_has_symlink_leading_path(&cache, ce->name, ce_namelen(ce)))
continue;