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