Re: [Census] So who uses git?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 1, 2006, 08:51 UTC
- Message-ID
- <7vslr3ea1f.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060201070847.2021.qmail@science.horizon.com>
linux@horizon.com writes:
Show 6 quoted lines
> At the risk of complicating something already very complicated, and > possibly breaking on Microsoft file systems, that case can be detected > by reading the directory and noticing that the inode number changed. > > Would it be worth validating the inode numbers (which can be retrieved > in a batch) even if you don't do a full lstat()?
I suspect that what you said about Microsoft filesystems is even stronger. IIRC the latest Cygwin stopped giving d_ino regardless of the filesystem type; you need to do a stat() anyway.