[PATCH 3/3] docs: Add a pointer to the git post-receive hook

Yann E. MORIN yann.morin.1998 at free.fr
Thu Dec 12 08:28:17 EST 2013


Peter, All,

On 2013-12-11 21:25 +0100, Peter Korsgaard spake thusly:
> >>>>> "Carl" == Carl Worth <cworth at cworth.org> writes:
> 
>  > I had to stumble upon this feature before I realized it was here
>  > inside the tools directory all along. This documentation should make
>  > it easier for the next person coming along looking for a patchwork git
>  > hook.
>  > ---
>  >  docs/INSTALL | 17 +++++++++++++++++
>  >  1 file changed, 17 insertions(+)
> 
>  > diff --git a/docs/INSTALL b/docs/INSTALL
>  > index 91c6081..06c21d4 100644
>  > --- a/docs/INSTALL
>  > +++ b/docs/INSTALL
>  > @@ -217,6 +217,23 @@ fastcgi:
>  
>  >       sudo -u nobody /srv/patchwork/apps/patchwork/bin/parsemail.sh < mail
>  
>  > +7. Optional: Configure your VCS to automatically update patches
>  > +
>  > +    The tools directory of the patchwork distribution contains a file
>  > +    named post-receive.hook which is an example git hook that can be
>  > +    used to automatically update patches to the Accepted state when
>  > +    corresponding comits are pushed via git.
>  > +
>  > +    To install this hook, simply copy it to the .git/hooks directoy on
                                                                 ^^^^^^^^
> s/sirectoy/directory/

s/sirectoy/directoy/

Just because I looked at it for a moment before I could see there was a
typo in the sed expression. ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the Patchwork mailing list