From 7b0751dd4fe67837b043f89397013a3b19d17190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 22 Aug 2009 12:11:44 +0200 Subject: Add Git pre-commit hook. diff --git a/BuildTools/Git/Hooks/pre-commit b/BuildTools/Git/Hooks/pre-commit new file mode 100644 index 0000000..9ffc1c7 --- /dev/null +++ b/BuildTools/Git/Hooks/pre-commit @@ -0,0 +1,7 @@ +#!/bin/sh + +echo "Checking tabs ..." +if ! BuildTools/CheckTabs.py; then + echo "Expanded tabs found. Aborting commit." + exit -1 +fi -- cgit v0.10.2-6-g49f6