diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2024-03-13 07:22:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 23:22:10 -0700 |
commit | 94a1d1414aa26fff55b55f1e9c93f342d12b6464 (patch) | |
tree | 39a5ab0a15c359d71c46825e1f9eaa9af59622cf /var | |
parent | 0f080b38f4c81221f030554d7e723d7f3c303f9b (diff) | |
download | spack-94a1d1414aa26fff55b55f1e9c93f342d12b6464.tar.gz spack-94a1d1414aa26fff55b55f1e9c93f342d12b6464.tar.bz2 spack-94a1d1414aa26fff55b55f1e9c93f342d12b6464.tar.xz spack-94a1d1414aa26fff55b55f1e9c93f342d12b6464.zip |
spack.patch: support reversing patches (#43040)
The `patch()` directive can now be invoked with `reverse=True` to apply a patch in reverse.
This is useful for reverting commits that caused errors in projects, even if only the forward
patch is available, e.g. via a GitHub commit patch URL.
`patch(..., reverse=True)` runs `patch -R` behind the scenes. This is a POSIX option so we
can expect it to be available on the `patch` command.
---------
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions