So this brings us a new pre-commit-hook that will (when installed!) look
at $ROOT/.clang-format and decide whether to run "clang-format" or
"uncrustify".  Which is important for people like me that have to
switch back and forth between branches with different formatting rules
(2.6 and earlier will stay on uncrustify, 2.7-ish and master-after-2.7
will have clang-format).

So, thanks for that.

(After the big reformatting, folks using this git-hook need to remember
to actually enable it with "dev-tools/git-pre-commit-format.sh install")

Your patch has been applied to the master branch.

commit d18f8e4e60aef5802006f7d33642b0cecbdfb255
Author: Frank Lichtenheld
Date:   Mon Aug 4 11:27:34 2025 +0200

     Update git-pre-commit-uncrustify.sh to handle clang-format

     Signed-off-by: Frank Lichtenheld <fr...@lichtenheld.com>
     Acked-by: Gert Doering <g...@greenie.muc.de>
     Message-Id: <20250804092739.16410-1-g...@greenie.muc.de>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32497.html
     Signed-off-by: Gert Doering <g...@greenie.muc.de>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to