Code

Documentation: document post-rewrite hook
authorThomas Rast <trast@student.ethz.ch>
Fri, 12 Mar 2010 17:04:27 +0000 (18:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Mar 2010 05:55:39 +0000 (21:55 -0800)
commitc0fc6869112e07cda2faff73670480df0d82d530
tree94ea3436cb2f6c68c67bdf9033bcf3b0ad638740
parent894a9d333e9e2015cad00d95250b7c5d3acea8b6
Documentation: document post-rewrite hook

This defines the behaviour of the post-rewrite hook support, which
will be implemented in the following patches.

We deliberately do not document how often the hook will be invoked per
rewriting command, but the interface is designed to keep that at
"once".  This would currently not matter too much, since both rebase
and filter-branch are shellscripts and spawn many processes anyway.
However, when a fast sequencer in C is implemented, it will be
beneficial to only have to run the hook once.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/githooks.txt