Project

General

Profile

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.

Issue tracking  Details

open closed Total
Bug 0 0 0
Feature 1 1 2
To do 0 0 0

View all issues | Summary