From: Petr Baudis Date: Fri, 03 Oct 2008 10:20:43 GMT Subject: Re: [PATCH] Do not rename read-only files during a push Message-ID: <20081003102043.GR10544@machine.or.cz> In-Reply-To: <1222104029-28366-1-git-send-email-pasky@suse.cz> On Mon, Sep 22, 2008 at 07:20:29PM +0200, Petr Baudis wrote: > Win32 does not allow renaming read-only files (at least on a Samba > share), making push into a local directory to fail. Thus, defer > the chmod() call in index-pack.c:final() only after > move_temp_to_file() was called. > > Signed-off-by: Petr Baudis Ping? Petr "Pasky" Baudis