Re: 'git status' is not read-only fs friendly

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2007-02-12 10:24:24
Hi,

On Sun, 11 Feb 2007, Junio C Hamano wrote:

> 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Feb 12 10:28:44 2007

This archive was generated by hypermail 2.1.8 : 2007-02-12 10:30:30 EST