rebase: allow a hook to refuse rebasing.
authorJunio C Hamano <junkio@cox.net>
Mon, 13 Feb 2006 07:17:04 +0000 (23:17 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 13 Feb 2006 08:17:33 +0000 (00:17 -0800)
commit9a111c91b01455ee1ea9f33c60da7ad50d460a7b
tree4559d164c9643ff2dd2bded5ebafe196c98fbe35
parentbd9ca0baff88107e26915cdaaf9821dc70a187e3
rebase: allow a hook to refuse rebasing.

This lets a hook to interfere a rebase and help prevent certain
branches from being rebased by mistake.  A sample hook to show
how to prevent a topic branch that has already been merged into
publish branch.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-rebase.sh
templates/hooks--pre-rebase [new file with mode: 0644]