summaryrefslogtreecommitdiff
path: root/diff-no-index.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-09 02:31:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-07-09 08:11:30 (GMT)
commitcaa6b7825aaddb8a97a5b793ca61df0c1ec9b76b (patch)
tree1fa18bd1a39279e5e4f5889bb97aae89957cd544 /diff-no-index.c
parentdba2e2037f40685bffc87d3e7114a02c5bda1eff (diff)
downloadgit-caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b.zip
git-caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b.tar.gz
git-caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b.tar.bz2
Avoid doing extra 'lstat()'s for d_type if we have an up-to-date cache entry
On filesystems without d_type, we can look at the cache entry first. Doing an lstat() can be expensive. Reported by Dmitry Potapov for Cygwin. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions