aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/githooks.txt
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-10-05 22:26:54 +0900
committerShawn O. Pearce <spearce@spearce.org>2008-10-06 01:17:05 -0700
commit00e5d48a9aef3228496d6f517a272fa095c562fe (patch)
tree4147550fd77f135071b775122fbb7847766e23e4 /Documentation/githooks.txt
parentd09e2cd5516473753cb067e723293fab180e0b1b (diff)
downloadgit-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>
Diffstat (limited to 'Documentation/githooks.txt')
-rw-r--r--Documentation/githooks.txt7
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
-----------