diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-09 22:14:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-10 05:05:19 +0200 |
commit | 443e061a41bee30de34793648793ed70477ac575 (patch) | |
tree | 8058073542cbf810c110778f0f49e5674f91a5fc /symlinks.c | |
parent | Avoid doing extra 'lstat()'s for d_type if we have an up-to-date cache entry (diff) | |
download | git-443e061a41bee30de34793648793ed70477ac575.tar.xz git-443e061a41bee30de34793648793ed70477ac575.zip |
Avoid using 'lstat()' to figure out directories
If we have an up-to-date index entry for a file in that directory, we
can know that the directories leading up to that file must be
directories. No need to do an lstat() on the directory.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions