update-hook-example: optionally allow non-fast-forward
authorDmitry Potapov <dpotapov@gmail.com>
Wed, 25 Jun 2008 23:14:31 +0000 (03:14 +0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Jun 2008 05:41:10 +0000 (22:41 -0700)
commitf9a08f618f3aa586a6859283dd2d0cd5a8dc4f96
tree22833d02118de8c9484296c200c15734a0ff8fba
parent41e98de4280dbb340e64da0a0129edbda9108ccf
update-hook-example: optionally allow non-fast-forward

Sometimes it is desirable to have non-fast-forward branches in a
shared repository. A typical example of that is the 'pu' branch.
This patch extends the format of allowed-users and allow-groups
files by using the '+' sign at the beginning as the mark that
non-fast-forward pushes are permitted to the branch.

Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/howto/update-hook-example.txt