From 63063b1ebe149ae833cbc8758406922d74ffb89a Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Fri, 29 Mar 2013 17:12:07 -0400 Subject: [PATCH] DEV: Fixes typo in git stash message comparison. --- etc/git-hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/git-hooks/pre-commit b/etc/git-hooks/pre-commit index 0c1d6b22..c0642c84 100755 --- a/etc/git-hooks/pre-commit +++ b/etc/git-hooks/pre-commit @@ -27,7 +27,7 @@ nosetests -x # But if either fail, it's probably best to have only the offending # staged commits 'active', anyway. stash_result=$(git stash --keep-index) -if [ "$stash_result" != "No local changes to save." ] +if [ "$stash_result" != "No local changes to save" ] then git stash pop -q fi