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
#!/bin/sh | |
# | |
# Pre-commit Hook | |
# | |
# Searches for black-listed strings in the commit and exits with an | |
# error if found, printing a diff of the location of the offending string | |
# | |
STATUS=0; | |
BLACKLIST="error_log |