Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH 01/02/RFC] implement a stat cache

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:31

Possibly related (same subject, not in this thread)

Linus Torvalds [off-list ref] writes:
Junio, what was the logic for that whole "has_symlink_leading_path()" 
thing?
If you have a tracked path a/b/c/d/e, and you changed your work tree to
make a/b to a symlink that points at a random directory, potentially
even outside work tree, that has c/d/e in it, we should not be fooled by
the fact that lstat("a/b/c/d/e") says "yup, the file exists".  As far as
git is concerned, that path does _not_ exist, as "a/b" is a symlink now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help