summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-10-05 13:26:54 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-10-06 08:17:05 (GMT)
commit00e5d48a9aef3228496d6f517a272fa095c562fe (patch)
tree4147550fd77f135071b775122fbb7847766e23e4
parentd09e2cd5516473753cb067e723293fab180e0b1b (diff)
downloadgit-00e5d48a9aef3228496d6f517a272fa095c562fe.zip
git-00e5d48a9aef3228496d6f517a272fa095c562fe.tar.gz
git-00e5d48a9aef3228496d6f517a272fa095c562fe.tar.bz2
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.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index 7fefdb1..5faaaa5 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
-----------