@matheusbsbs / matheus-bagliano / commits / 00e5d48a9a
Fork 0

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>

Nanako Shiraishi committed Oct 5, 2008 at 22:26 UTC 00e5d48a9aef3228496d6f517a272fa095c562fe
1 file changed +7
Documentation/githooks.txt
+7
@@ -130,6 +130,13 @@ parameter, and is invoked after a commit is made.
130 This hook is meant primarily for notification, and cannot affect
131 the outcome of 'git-commit'.
132
133 +pre-rebase
134 +----------
135 +
136 +This hook is called by 'git-rebase' and can be used to prevent a branch
137 +from getting rebased.
138 +
139 +
140 post-checkout
141 -----------
142