Re: [PATCH] git-apply: Do not free the wrong buffer when we convert the data for writeout
- From
- Alexander Litvinov <litvinov2004@gmail.com>
- Date
- Mar 23, 2007, 03:55 UTC
- Message-ID
- <200703230955.22801.litvinov2004@gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0703221355110.6730@woody.linux-foundation.org>
В сообщении от Friday 23 March 2007 02:55 Linus Torvalds написал(a):
Show 6 quoted lines
> 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.