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

Re: possible bug in git apply?

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


On Sun, 5 Aug 2007, David Kastrup wrote:
But your proposed three passes won't work with a patch removing
"x/..."  and creating "x" in its place, since "x/" gets only removed
in pass 3, and "x" needs to created in pass 2 already.
Yes, I was wrong. The current two passes are the right thing to do, and we 
should just always remove empty directories (and my patch was fine: we can 
leave them alone if it's a pure "modify file in place", but that's really 
the only case).

		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