Re: comparing file contents in is_exact_match?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 17, 2006, 12:41 UTC
- Message-ID
- <Pine.LNX.4.63.0607171439270.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <87d5c4ajlu.fsf@mid.deneb.enyo.de>
Hi,
On Mon, 17 Jul 2006, Florian Weimer wrote:
Show 7 quoted lines
> * Alex Riesen: > > > It is not Cygwin really. It's windows. You can't rename or delete an > > open or mmapped file in that thing. > > And GIT's workaround is to read the whole file into memory and close > it after that? Uh-oh.
If you have a better idea (which does not make git source code ugly), go ahead, write a patch.
But note that we usually use the whole contents of the mmap()ed file anyway.
Ciao, Dscho