Subject: Re: First cut at git port to Cygwin

From: "H. Peter Anvin" <[email-masked]>
Date: Mon, 10 Oct 2005 11:43:47 -0700

Junio C Hamano wrote:
> 
> PROT_WRITE is true, but we do MAP_PRIVATE, and if I recall
> correctly we do not write file via mmap -- at least we do not
> intend to.
> 

Then PROT_READ probably makes more sense?

> 
> Yes.  It might have been overkill that you supported writing
> changes back, though.

Not just overkill; if we do MAP_PRIVATE it's actively WRONG.

	-hpa