summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-push.sample
diff options
context:
space:
mode:
Diffstat (limited to 'templates/hooks--pre-push.sample')
-rwxr-xr-xtemplates/hooks--pre-push.sample3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample
index 1f3bcebfd7..6187dbf439 100755
--- a/templates/hooks--pre-push.sample
+++ b/templates/hooks--pre-push.sample
@@ -24,7 +24,6 @@ url="$2"
z40=0000000000000000000000000000000000000000
-IFS=' '
while read local_ref local_sha remote_ref remote_sha
do
if [ "$local_sha" = $z40 ]
@@ -45,7 +44,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