On 09/06/13 16:24, Andreas Grünbacher wrote:
Maybe add an option: --assume={yes,no}
So that would probably be --batch but while skipping patches which appear
to be applied already.
That could be implemented, but I would not recommend using such a feature.
For my particular application, I am wanting a three outcome decision:
1. apply the patch completely
2. the patch is a complete reverse, so ignore it
3. apply the forward parts of the patch, put the rest into .rej files
and then stop and intervene manually.
I'll try parsing the --dry-run output and see if that gets me where
I want to go, but I still don't see a way to specify "forward only"
in batch mode. Yes, "--batch=forward", "--batch=reverse" and
"--batch=abort" would be nice, but I was trying to do and suggest
something fairly simple.
Thank you for your help and suggestions!