author | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 06:52:09 +0000 (23:52 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 06:52:09 +0000 (23:52 -0700) | ||
commit | eed46644ca48ad08e1fd71e14afbe801399e8a67 | |
tree | 0c0de6b7e698f87684ab1025236f698230035d9f | tree | snapshot |
parent | c28c571c143a5145665f4bf334671ac3a7d0980c | commit | diff |
apply: split out removal and creation into different phases.
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>
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>
builtin-apply.c | diff | blob | history |