Created
August 22, 2011 21:42
-
-
Save pierrel/1163686 to your computer and use it in GitHub Desktop.
Make sure I didn't commit any debugger lines
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
WARN_ME="\n\ | |
!WARNING! \n\ | |
This change may contain a debugger line. Please make sure this is not the case before pushing. \n\ | |
!END WARNING! \n" | |
if git show | grep -q "debugger" | |
then | |
echo $WARN_ME | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment