diff options
author | Nanako Shiraishi <nanako3@lavabit.com> | 2008-10-05 22:26:54 +0900 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-06 01:17:05 -0700 |
commit | 00e5d48a9aef3228496d6f517a272fa095c562fe (patch) | |
tree | 4147550fd77f135071b775122fbb7847766e23e4 | |
parent | d09e2cd5516473753cb067e723293fab180e0b1b (diff) | |
download | git-00e5d48a9aef3228496d6f517a272fa095c562fe.tar.gz |
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 <nanako3@lavabit.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r-- | Documentation/githooks.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt index 7fefdb1f45..5faaaa5fed 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 ----------- |