diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-08 19:31:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-09 01:11:30 -0700 |
commit | caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b (patch) | |
tree | 1fa18bd1a39279e5e4f5889bb97aae89957cd544 /log-tree.c | |
parent | dba2e2037f40685bffc87d3e7114a02c5bda1eff (diff) | |
download | git-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