From: Alexander Litvinov Date: Fri, 23 Mar 2007 03:55:22 GMT Subject: Re: [PATCH] git-apply: Do not free the wrong buffer when we convert the data for writeout Message-ID: <200703230955.22801.litvinov2004@gmail.com> In-Reply-To: В сообщении от Friday 23 March 2007 02:55 Linus Torvalds написал(a): > On Thu, 22 Mar 2007, Junio C Hamano wrote: > > This patch also moves the call to open() up in the function, as > > the caller expects us to fail cheaply if leading directories > > need to be created (and then the caller creates them and calls > > us again). For that calling pattern, attempting conversion > > before opening the file adds unnecessary overhead. I have applied this patch ontop of next (d06644b) and it also fix by repo breakage. Thanks for help ! Alexander Litvinov.