Skip to content

Commit

Permalink
Merge branch 'wk/pre-push-sample-hook'
Browse files Browse the repository at this point in the history
* wk/pre-push-sample-hook:
  pre-push.sample: Write error message to stderr
  • Loading branch information
Junio C Hamano committed Sep 19, 2014
2 parents dd71684 + 1a947ba commit 74d159a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/hooks--pre-push.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74d159a

Please sign in to comment.