87c86dd14a
Create a sample of a script for a pre-push hook. The main purpose is to illustrate how a script may parse the information which is supplied to such a hook. The script may also be useful to some people as-is for avoiding to push commits which are marked as a work in progress. Signed-off-by: Aaron Schrab <aaron@schrab.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
.gitignore | ||
branches-- | ||
hooks--applypatch-msg.sample | ||
hooks--commit-msg.sample | ||
hooks--post-update.sample | ||
hooks--pre-applypatch.sample | ||
hooks--pre-commit.sample | ||
hooks--pre-push.sample | ||
hooks--pre-rebase.sample | ||
hooks--prepare-commit-msg.sample | ||
hooks--update.sample | ||
info--exclude | ||
Makefile | ||
this--description |