Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] git-apply: Do not free the wrong buffer when we convert the data for writeout

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:01

Possibly related (same subject, not in this thread)


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.

Signed-off-by: Junio C Hamano <redacted>
Ack, looks good.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help