mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
2417d55c49
This script will run all files related to the currently checked out git branch through uncrustify using a standardized style configuration. Due to a bug in uncrustify 0.64, it is needed to add a special treatment to one of the files at the moment. So this both pre- and post-patched before/after uncrustify is run. This is to simply to assure that all file processing will happen consistently each time. Also added doc/doxygen/doc_key_generation.h to an ignore list, as it carries some specific Doxygen formatting we should be careful with. This file is anyhow not so critical and can be managed manually. The src/compat/compat-lz4.[ch] files are also not touched, as they are based on upstream formatting. This makes it easier to update to a newer LZ4 version later on and even see what the differences are. v2 - Include updated config from CodeStyle wiki page Remove line lenght restriction for The Great Reformatting Update the script with improvements by krzee v3 - Update with a fixed config from the CodeStyle wiki page Corrected a typo in the commit message (0.63->0.64) Minor changes to the reformat script (no pushd/popd, some new lines moved around, bash->sh) Signed-off-by: David Sommerseth <davids@openvpn.net> Acked-by: Steffan Karger <steffan@karger.me> Message-Id: <1481749500-8795-1-git-send-email-davids@openvpn.net> URL: http://www.mail-archive.com/search?l=mid&q=1481749500-8795-1-git-send-email-davids@openvpn.net
5 lines
320 B
Plaintext
5 lines
320 B
Plaintext
E:doc/doxygen/doc_key_generation.h # @verbatim section gets mistreated, exclude it
|
|
E:src/compat/compat-lz4.c # Preserve LZ4 upstream formatting
|
|
E:src/compat/compat-lz4.h # Preserve LZ4 upstream formatting
|
|
P:include/openvpn-plugin.h.in # uncrustify segfaults, patch it before+after
|