mirror of https://github.com/OISF/suricata
clang-format: don't reformat schema on rewrite-branch
Add --extensions c,h flag to git clang-format when reformatting commits on a branch. This prevents clang-format from modifying non-C files like JSON schemas. The extensions is used elsewhere in this script, so I suspect it was just an oversight. Also, ./scripts/schema-order.py --in-place will consistently format the schema, while sorting the keys.pull/13328/head
parent
f2e7309bbb
commit
8d67c91c0d
Loading…
Reference in New Issue