Merge branch 'wk/doc-pre-rebase' into maint-1.8.1
[gitweb.git] / Documentation / githooks.txt
index 4e0d2a08a11a2dd0af3bd77c5fd0041ea7e1d97e..4eed86b2a44f0cac8d963ec6c9ed88e4a069bc4c 100644 (file)
@@ -140,9 +140,11 @@ 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.
-
+This hook is called by 'git rebase' and can be used to prevent a
+branch from getting rebased.  The hook may be called with one or
+two parameters.  The first parameter is the upstream from which
+the series was forked.  The second parameter is the branch being
+rebased, and is not set when rebasing the current branch.
 
 post-checkout
 ~~~~~~~~~~~~~