Skip to content

Repository files navigation

This repository contains some useful pre-commit hooks to use with git.
Check INSTALL for documentation on how to install and use these hooks.
canonicalize_filename.sh
Provides the ability to canonicalize filenames similar to the GNU version of
readlink -f with non GNU versions of readlink.
install_hooks.sh:
Create hooks Symlinks over to your local git repository.
pre-commit:
Allow to run multiple pre-commit hooks as specified in the script.
pre-commit-compile:
Compile the project and abort commit if it fails.
pre-commit-default:
The default git pre-commit hook checking for example for trailing
whitespaces.
pre-commit-uncrustify:
Run uncrustify on your sourcefiles and abort the commit if style violations
have been detected. Generate a patch to fix these violations.

About

A set of useful (and documented!) git pre-commit hooks.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages