diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-01-26 13:57:28 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-01-26 13:58:24 -0500 |
commit | b78f6c61c4527a40afa3263eb06c764ac786df5e (patch) | |
tree | 67447ce4ff65776f03ab9617786238ce4f2f24eb /contrib/gitian-descriptors | |
parent | ab46fe6ec1b37e88c5a06ee7a06ab31cbd18304f (diff) | |
parent | ad5e5a105e873b6cca277370312d3d31a3427d38 (diff) | |
download | bitcoin-b78f6c61c4527a40afa3263eb06c764ac786df5e.tar.xz |
Merge #15258: Scripts and tools: Fix devtools/copyright_header.py to always honor exclusions
ad5e5a105e Scripts and tools: Drop no-longer-relevant copyright holder names (Ben Woosley)
2434ab5c2a Scripts and tools: Fix devtools/copyright_header.py to always honor exclusions (Ben Woosley)
Pull request description:
This script compared paths relative to the report directory to test for exclusion,
meaning the `EXCLUDE_DIRS` directory exclusions did not work properly, as
they were relative to the project root.
Fix this by creating absolute paths through the combination of:
'git ls-files --full-name' and 'git rev-parse --show-toplevel'
Once this is done, we can stop testing for the names that would otherwise
appear when exclusion of leveldb, secp256k1, etc., did not work as intended.
Tree-SHA512: 0fa9b0a627e8ddb2d899eedee927ea8a809cb2ceee87c0920c151e5ca2103f7d8c463e3b379d5e2eb925fc3d7d8003082ffd9cbc03907ca0c448e8238e3a2684
Diffstat (limited to 'contrib/gitian-descriptors')
0 files changed, 0 insertions, 0 deletions