Skip to content

Commit

Permalink
Merge branch 'wk/doc-pre-rebase' into maint-1.8.1
Browse files Browse the repository at this point in the history
The arguments given to pre-rebase hook were not documented.

* wk/doc-pre-rebase:
  Documentation/githooks: Explain pre-rebase parameters
  • Loading branch information
Junio C Hamano committed Mar 25, 2013
2 parents 82b955c + 0414acc commit 8ddd9c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Documentation/githooks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~
Expand Down

0 comments on commit 8ddd9c1

Please sign in to comment.