X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=preload-index.c;h=e3d0bda31a98372eb9b6a8c2cd0fd65917a9dbde;hb=7e7db5e4520388d3a6f1efbe2f7a29d43bd06a2b;hp=92899333c2d8edbed71fdd3a43e19f25a10e5b03;hpb=7b576f9910a2945688f04f6ff9d03771f2956618;p=git.git diff --git a/preload-index.c b/preload-index.c index 92899333c..e3d0bda31 100644 --- a/preload-index.c +++ b/preload-index.c @@ -47,6 +47,8 @@ static void *preload_thread(void *_data) if (ce_stage(ce)) continue; + if (S_ISGITLINK(ce->ce_mode)) + continue; if (ce_uptodate(ce)) continue; if (!ce_path_match(ce, p->pathspec))