diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-19 11:38:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-19 11:38:41 -0700 |
commit | 74d159a4edfb757de400f1023410fd88e4111aa1 (patch) | |
tree | 4ec8cef3120c26476c9f8a7a33624a7be58a0577 | |
parent | dd716840f0635beeb3bd743ddc4015519ea1edc5 (diff) | |
parent | 1a947ba3a3eebea80be6a6d1000614884807bc8b (diff) | |
download | git-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-x | templates/hooks--pre-push.sample | 2 |
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 |