diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-02-02 14:38:11 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-02-08 07:16:23 +0100 |
commit | aa735872a879075d1e9d669c8d5737f41232a3e3 (patch) | |
tree | 2cfade2ceaf80b89055dd8c933481539e997f884 /scripts/u2f-setup-gen.py | |
parent | 969d09c3a6186c0a4bc8a41db0c1aba1c76081fc (diff) | |
download | qemu-aa735872a879075d1e9d669c8d5737f41232a3e3.zip qemu-aa735872a879075d1e9d669c8d5737f41232a3e3.tar.gz qemu-aa735872a879075d1e9d669c8d5737f41232a3e3.tar.bz2 |
scripts/clean-includes: Fully skip / ignore files
When clean-includes claims to skip or ignore a file, only the part
that sanitizes use of qemu/osdep.h skips the file. The part that
looks for duplicate #include does not, and neither does committing to
Git.
The latter can get unrelated stuff included in the commit, but only if
you run clean-includes in a dirty tree, which is unwise. Messed up
when we added skipping in commit fd3e39a40c "scripts/clean-includes:
Enhance to handle header files".
The former can cause bogus reports for --check-dup-head. Added in
commit d66253e46a "scripts/clean-includes: added duplicate #include
check", duplicating the prior mistake.
Fix the script to fully skip files.
Fixes: fd3e39a40ca2 ("scripts/clean-includes: Enhance to handle header files")
Fixes: d66253e46ae2 ("scripts/clean-includes: added duplicate #include check")
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20230202133830.2152150-2-armbru@redhat.com>
Diffstat (limited to 'scripts/u2f-setup-gen.py')
0 files changed, 0 insertions, 0 deletions