Overview
This is a little project which provides some pre-commit-hooks for git such as:
1. clang-format
2. build
If clang-format results in a non-empty diff then a patch is created and the commit is rejected.
If the commit fails to build then the commit is rejected.
To install to a particular git repo on your machine, located in the directory $REPO, do the following:
1. git clone https://scm.ti-edu.ch/repogit/Pre-commit-hook.git
2. cd Pre-commit-hook
3. ./install.sh $REPO
Clangify will assume google code standard unless there is a .clang-format file in the root directory of your project.
Members
Manager: Erich Foster, Rolf Krause
Developer: Barna Becsek, Eric Botter, Hadi Zolfaghari, Hardik Kothari, Lulu Liu, Pietro Benedusi, Simone Pezzuto, Sonia Pozzi
Reporter: Alena Kopanicakova, Alessandro Rigazzi, Alessio Quaglino, Cyrill Von Planta, Fatemeh Chegini, Marco Favino, Maria Giuseppina Chiara Nestola, Xiaozhou Li