Re: [PATCH 1/2] run_diff_{files,index}(): update calling convention.
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Feb 10, 2007, 11:25 UTC
- Message-ID
- <e5bfff550702100325v5ce9ba1fx4b9b7adcc5040948@mail.gmail.com>
- In-Reply-To
- <7vhctumh1m.fsf@assigned-by-dhcp.cox.net>
On 2/10/07, Junio C Hamano <junkio@cox.net> wrote:
> I suspect that you are dual booting and browsing a git > repository that is on a read-only mounted NTFS filesystem from > the Linux side, and the index was created on Cygwin git? >
Yes. That's it.
Show 12 quoted lines
> I (perhaps luckily) am fairly ignorant on the way things done in > Windows environment. For one thing, I do not know if NTFS has > notion of i-number, file owner uid, and other information that > are used in the index (not that I want to know). > > If NTFS does not support the information returned by lstat(2) > fully on disk, I would imagine Cygwin and NTFS filesystem driver > in the Linux kernel need to fake some fields that NTFS does not > natively store, and if the value faked by Cygwin and NTFS driver > in the Linux kernel disagree, then it is not at all surprising > to see if an unmodified path shows up as cache-dirty. >
So in this case your patch that introduce '--refresh' option in 'git runstatus' is not just a shortcut for 'git update-index' + 'git runstatus' but adds some real value.
One more reason for asking you to add it before 1.5 release ;-)