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)
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

1  2 
builtin/commit.c

Simple merge