Merge branch 'wk/pre-push-sample-hook'
* wk/pre-push-sample-hook: pre-push.sample: Write error message to stderr
This commit is contained in:
@ -45,7 +45,7 @@ do
|
|||||||
commit=`git rev-list -n 1 --grep '^WIP' "$range"`
|
commit=`git rev-list -n 1 --grep '^WIP' "$range"`
|
||||||
if [ -n "$commit" ]
|
if [ -n "$commit" ]
|
||||||
then
|
then
|
||||||
echo "Found WIP commit in $local_ref, not pushing"
|
echo >&2 "Found WIP commit in $local_ref, not pushing"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user