Re: [PATCH] preload-index: avoid lstat for skip-worktree items

2017-02-10 Thread Junio C Hamano
Johannes Schindelin writes: > Teach preload-index to avoid lstat() calls for index-entries > with skip-worktree bit set. This is a performance optimization. > ... > diff --git a/preload-index.c b/preload-index.c > index c1fe3a3ef9c..70a4c808783 100644 > ---

[PATCH] preload-index: avoid lstat for skip-worktree items

2017-02-10 Thread Johannes Schindelin
From: Jeff Hostetler Teach preload-index to avoid lstat() calls for index-entries with skip-worktree bit set. This is a performance optimization. During a sparse-checkout, the skip-worktree bit is set on items that were not populated and therefore are not present in the