Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: untracked symlinks are less precious than untracked files?

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:50:29

Possibly related (same subject, not in this thread)

On Mittwoch, 2. Februar 2011, Junio C Hamano wrote:
Johannes Sixt [off-list ref] writes:
quoted
Is it by design that symlinks are less precious than files, or is it an
oversight?
I don't recall making conscious distinction between symmlinks and regular
files, so it is likely to be just a bug. Perhaps using stat() where
lstat() should be used and mistaking an error return as missing, or
something silly like that?
Hm, I don't think so. It seems to interact with the lstat_cache. When lstat 
reports a symlink, this result is cached; but if it is a regular file, it is 
not cached. I don't know, what the consequences are, though... I have to stop 
my investigations for tonight.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help