summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:41 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:41 -0700
commit74d159a4edfb757de400f1023410fd88e4111aa1 (patch)
tree4ec8cef3120c26476c9f8a7a33624a7be58a0577
parentdd716840f0635beeb3bd743ddc4015519ea1edc5 (diff)
parent1a947ba3a3eebea80be6a6d1000614884807bc8b (diff)
downloadgit-74d159a4edfb757de400f1023410fd88e4111aa1.tar.gz
Merge branch 'wk/pre-push-sample-hook'
* wk/pre-push-sample-hook: pre-push.sample: Write error message to stderr
-rwxr-xr-xtemplates/hooks--pre-push.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample
index 1f3bcebfd7..69e3c67b00 100755
--- a/templates/hooks--pre-push.sample
+++ b/templates/hooks--pre-push.sample
@@ -45,7 +45,7 @@ do
commit=`git rev-list -n 1 --grep '^WIP' "$range"`
if [ -n "$commit" ]
then
- echo "Found WIP commit in $local_ref, not pushing"
+ echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi