Codebase list brewtarget / debian/2.3.1-2 setupgit.sh
debian/2.3.1-2

Tree @debian/2.3.1-2 (Download .tar.gz)

setupgit.sh @debian/2.3.1-2raw · history · blame

#!/bin/bash

echo ""
echo "Setting up brewtarget git preferences"
echo ""

# Enforce indentation with spaces, not tabs.
git config --file .git/config core.whitespace tabwidth=3,tab-in-indent

# Enable the pre-commit hook that warns you about whitespace errors
cp .git/hooks/pre-commit.sample .git/hooks/pre-commit