From: Nanako Shiraishi Date: Sun, 5 Oct 2008 13:26:54 +0000 (+0900) Subject: docs: describe pre-rebase hook X-Git-Tag: v1.6.0.3~36 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=00e5d48a9aef3228496d6f517a272fa095c562fe;p=git.git docs: describe pre-rebase hook Documentation/git-rebase.txt talks about pre-rebase hook, but it appears that Documentation/git-hooks.txt does not have corresponding entry for it. Signed-off-by: Nanako Shiraishi Signed-off-by: Shawn O. Pearce --- diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt index 7fefdb1f4..5faaaa5fe 100644 --- a/Documentation/githooks.txt +++ b/Documentation/githooks.txt @@ -130,6 +130,13 @@ parameter, and is invoked after a commit is made. This hook is meant primarily for notification, and cannot affect the outcome of 'git-commit'. +pre-rebase +---------- + +This hook is called by 'git-rebase' and can be used to prevent a branch +from getting rebased. + + post-checkout -----------