#!/bin/sh #check the config, in case the user really wants to allow tabs... allowtabs=$(git config hooks.allowtabs) if [ "$allowtabs" != "true" ] && git diff --cached | egrep '^\+.* ' then cat<