X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=preload-index.c;h=70a4c808783bab92b4b6319e3dbd8e16641b1918;hb=3b8a1e1e455fd979a37107581099869113bca442;hp=c1fe3a3ef9cba0c155d02475e24315784bd27ae4;hpb=5ff6a8462f7461075fb39cd0d6d76e6c51ffbc9f;p=platform%2Fupstream%2Fgit.git diff --git a/preload-index.c b/preload-index.c index c1fe3a3..70a4c80 100644 --- a/preload-index.c +++ b/preload-index.c @@ -53,6 +53,8 @@ static void *preload_thread(void *_data) continue; if (ce_uptodate(ce)) continue; + if (ce_skip_worktree(ce)) + continue; if (!ce_path_match(ce, &p->pathspec, NULL)) continue; if (threaded_has_symlink_leading_path(&cache, ce->name, ce_namelen(ce)))