diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-03-27 15:34:23 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-03-28 14:35:54 +0100 |
| commit | 66e26b95e4886f35301829c3ed2af458796b312f (patch) | |
| tree | 8af7764680fa9977aa5a4287e7df58d78ff65845 /test/lib/git: | |
| parent | 1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba (diff) | |
| download | passt-66e26b95e4886f35301829c3ed2af458796b312f.tar passt-66e26b95e4886f35301829c3ed2af458796b312f.tar.gz passt-66e26b95e4886f35301829c3ed2af458796b312f.tar.bz2 passt-66e26b95e4886f35301829c3ed2af458796b312f.tar.lz passt-66e26b95e4886f35301829c3ed2af458796b312f.tar.xz passt-66e26b95e4886f35301829c3ed2af458796b312f.tar.zst passt-66e26b95e4886f35301829c3ed2af458796b312f.zip | |
conf: Don't bother complaining about overlapping excluded ranges
In conf_ports() we die with an error if a port specification includes
overlapping excluded ranges. This is contrary to our usual convention of
handling conflicting options (last option wins, rather than error). Plus,
these options don't even conflict, they're just redundant.
This behaviour potentially makes life harder for scripts or other tools
invoking pasta - if they might have the same port excluded for multiple
different reasons, they have to explicitly deduplicate the list, rather
than just list everything on the command line. So, don't give this error,
let a port be excluded as many times as you like.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions
