From: Junio C Hamano Date: Sat, 08 Oct 2005 21:10:02 GMT Subject: Re: First cut at git port to Cygwin Message-ID: <7vk6gnpvf9.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: >> 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. > > Ahh! Reading the man page helps! > >> Yes. It might have been overkill that you supported writing >> changes back, though. > > Sure. Something like this? Not, really. What I meant was to rip out the writing out altogether, and perhaps making sure that the caller never calls us without MAP_PRIVATE.