<p>I find %autosetup -S git very hard to use when a patch needs updating for a new release of a project.  This gives us the standard patch behavior of applying what it can and giving .rej files for what it cannot.  I don't know how far back the --reject argument is valid, but it at least appears to be present in git 2.3.3: <a rel="nofollow" href="https://git-scm.com/docs/git-apply/2.3.3">https://git-scm.com/docs/git-apply/2.3.3</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/927'>https://github.com/rpm-software-management/rpm/pull/927</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Use git apply --reject to assist with modifying patches</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/927/files#diff-0">macros.in</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/927.patch'>https://github.com/rpm-software-management/rpm/pull/927.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/927.diff'>https://github.com/rpm-software-management/rpm/pull/927.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/927?email_source=notifications&email_token=ADLPZUYWPGMO3KCLH7DEOMLQSIQ2PA5CNFSM4JJONNU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HXC6OJA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU3WW3RPDXHHJ6RYJMLQSIQ2PANCNFSM4JJONNUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU6F5QKTD5QL3W352UTQSIQ2PA5CNFSM4JJONNU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HXC6OJA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/927?email_source=notifications\u0026email_token=ADLPZUYWPGMO3KCLH7DEOMLQSIQ2PA5CNFSM4JJONNU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HXC6OJA",
"url": "https://github.com/rpm-software-management/rpm/pull/927?email_source=notifications\u0026email_token=ADLPZUYWPGMO3KCLH7DEOMLQSIQ2PA5CNFSM4JJONNU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HXC6OJA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>