Codebase list brewtarget / run/e9d7e84b-fe0f-4369-88bf-008939f75185/main setupgit.sh
run/e9d7e84b-fe0f-4369-88bf-008939f75185/main

Tree @run/e9d7e84b-fe0f-4369-88bf-008939f75185/main (Download .tar.gz)

setupgit.sh @run/e9d7e84b-fe0f-4369-88bf-008939f75185/mainraw · 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