summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-08 19:31:49 -0700
committerJunio C Hamano <gitster@pobox.com>2009-07-09 01:11:30 -0700
commitcaa6b7825aaddb8a97a5b793ca61df0c1ec9b76b (patch)
tree1fa18bd1a39279e5e4f5889bb97aae89957cd544 /log-tree.c
parentdba2e2037f40685bffc87d3e7114a02c5bda1eff (diff)
downloadgit-caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b.tar.gz
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 'log-tree.c')
0 files changed, 0 insertions, 0 deletions