Re: 'git status' is not read-only fs friendly
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 11, 2007, 23:24 UTC
- Message-ID
- <Pine.LNX.4.63.0702120018110.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vsldcba3k.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sun, 11 Feb 2007, Junio C Hamano wrote:
Show 5 quoted lines
> Ah, you misread me. What I was trying to drive at was if we find the > subtle difference between Cygwin's lstat(2) emulation and lstat(2) > result from the NTFS driver in the Linux kernel, we could start and fuel > flamewar on _other_ lists (namely, kernel and Cygwin) saying "you guys > are inconsistent which inconvenience applications great deal".
I have no access to cygwin right now, so I'll argue using MinGW instead.
As I already said, I do not know what would happen if we touched st_ino. We'd likely have to touch it, since it takes 2 bytes on MinGW, and 4 bytes on Linux. Also, IIRC Cygwin fakes the inodes; and it depends on the Cygwin version, how it does it.
Also, we check st_uid and st_gid explicitely, which is more a problem to be solved by the person mounting the filesystem than the person maintaining the filesystem driver.
AFAICT we do not use st_dev anyway.
> And watching other people flame each other is a lot more fun than > flamewar raging close to home ;-).
Sometimes I find them fun here, too. That is, if it is not such a tiring flamewar as the renaming issues which creep up regularly.
Ciao, Dsho