summaryrefslogtreecommitdiff
path: root/symlinks.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-09 13:14:28 -0700
committerJunio C Hamano <gitster@pobox.com>2009-07-09 20:05:19 -0700
commit443e061a41bee30de34793648793ed70477ac575 (patch)
tree8058073542cbf810c110778f0f49e5674f91a5fc /symlinks.c
parentcaa6b7825aaddb8a97a5b793ca61df0c1ec9b76b (diff)
downloadgit-443e061a41bee30de34793648793ed70477ac575.tar.gz
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 'symlinks.c')
0 files changed, 0 insertions, 0 deletions