blob: dbccb9e274a20eaeb1c92577365111f8f26171ac [file] [log] [blame]
Stefan Tauner76347082016-11-27 17:45:49 +01001#!/bin/sh
2#
3# A hook script to verify what is about to be committed.
4# Called by "git commit" with no arguments. The hook should
5# exit with non-zero status after issuing an appropriate message if
6# it wants to stop the commit.
7
8# Check for whitespace errors
9git diff-index --check --cached HEAD -- || exit 1