From 00e5d48a9aef3228496d6f517a272fa095c562fe Mon Sep 17 00:00:00 2001 From: Nanako Shiraishi Date: Sun, 5 Oct 2008 22:26:54 +0900 Subject: [PATCH] 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 --- Documentation/githooks.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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 ----------- -- 2.30.2