Merge branch 'as/pre-push-hook'
authorJunio C Hamano <gitster@pobox.com>
Thu, 24 Jan 2013 05:19:25 +0000 (21:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 Jan 2013 05:19:25 +0000 (21:19 -0800)
commitbb9a69694f27aa299777c679979f75bdef75735d
treef00e9f412cd91c4f2b5aa355d68bc0b501ff8ee3
parent86db7464496ca82488071c7a9e7e57eff07cd900
parent87c86dd14abe8db7d00b0df5661ef8cf147a72a3
Merge branch 'as/pre-push-hook'

Add an extra hook so that "git push" that is run without making
sure what is being pushed is sane can be checked and rejected (as
opposed to the user deciding not pushing).

* as/pre-push-hook:
  Add sample pre-push hook script
  push: Add support for pre-push hooks
  hooks: Add function to check if a hook exists
builtin/commit.c