Re: [email protected] 2005-12-01 <8754128.1133459118221.javamail.r...@cps9> > I need to be able to patch a tree of files atomically. > I mean, either the patch is applied without any reject or is not applied > at all. > > (I think I've seen this method of operation of patch in some revision > control systems like tla.)
Hi, I had another look at this feature request. I don't think patch is the place to implement this - it would require walking over all files in dry-run mode (with all its problems, see https://savannah.gnu.org/bugs/?25860), and if everything goes well, re-do all work, which isn't even really feasible when input is from a pipe. If you need that behaviour, please try with --dry-run first (or use some VCS). Christoph -- [email protected] | http://www.df7cb.de/
signature.asc
Description: Digital signature

