This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Git pre-commit hook that catches errors that I commonly make. | |
# | |
# To intentionally ignore the hook (i.e., when adding an alert call), commit | |
# from the command line with "--no-verify" | |
# | |
# Loosely based on Henrik Nyh's <http://henrik.nyh.se> work (2011-10-08) | |
# under the MIT License. | |
# |