diff options
| author | Naïm Favier <n@monade.li> | 2022-03-22 19:53:22 +0100 |
|---|---|---|
| committer | Naïm Favier <n@monade.li> | 2022-03-25 01:00:36 +0100 |
| commit | bf7d13dc4f54561bb2d8b026e25bda70362b789e (patch) | |
| tree | 59cefde7d8c6af2c97c36e8a75c5df2bc00dccdf /pkgs/development/python-modules/python-mapnik | |
| parent | 488869f602eea53e3fe08c89bdb655811877cde0 (diff) | |
fetchpatch: add `relative`
Allows restricting patches to a specific subdirectory, à la
`git diff --relative=subdir`.
This cannot be done (cleanly) currently because the `includes` logic
happens *after* `stripLen` is applied, so we can't match on `subdir/*`.
This change adds a `relative` argument that makes this possible by
filtering files before doing any processing, and setting `stripLen` and
`extraPrefix` accordingly.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
