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 /contrib/persistent-https | |
| parent | Simplify read_directory[_recursive]() arguments (diff) | |
| download | git-caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b.tar.gz git-caa6b7825aaddb8a97a5b793ca61df0c1ec9b76b.zip | |
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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
