Skip to content

Code styling on commit (waiting for BaseLib merge)

Lars Bilke requested to merge github/fork/bilke/pre-commit-checks into master

I have implemented reformating the changed files accordingly to the styleguide as a pre-commit git hook. Unfortunately this works only on *nix at the moment. Your git-mergetool is utilized to show you the changes made by the formatting.

To setup the necessary hooks run:

./ogs/scripts/init.sh

Make sure to have uncrustify installed.

Merge request reports