[Rpm-maint] [rpm-software-management/rpm] When using %autopatch, create backup files with .<num>~ suffix by def… (#109)

Panu Matilainen notifications at github.com
Wed Jan 18 14:26:37 UTC 2017

Okay so I ended up doing something slightly different. The quilt case was indeed was basically a case of working by accident. This commit fixes that + adds the patch ordinal as another (non-option) argument: 1d7b45e484883f3a340f40610b060cc100f62caa 

The other piece of the puzzle is a separate "gendiff" backend which takes advantage of the ordinal number to generate backups: 34c4609df37c2462dcd884e7952259b66ebd3098 (the idea of a separate backend discussed in PR#110)

This avoids adding options that are specific to just one backend and the annoying question of default behavior: defaults dont change at all, patch is plain patch with no backups that are redundant most of the time yet you can easily switch them on when you need.

Credits in the commit message already but again, thanks for input and inspiration on this.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170118/7d73f93a/attachment.html>

More information about the Rpm-maint mailing list