apply: split out removal and creation into different phases.
authorJunio C Hamano <junkio@cox.net>
Mon, 17 Jul 2006 06:52:09 +0000 (23:52 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 17 Jul 2006 06:52:09 +0000 (23:52 -0700)
This reworks write_out_result() loop so we first remove the paths that
are to go away and then create them after finishing all the removal.

This is necessary when a patch creates a file "foo" and removes a file
"foo/bar".

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found