[Kde-scm-interest] Post-commit hooks script

Thiago Macieira thiago at kde.org
Thu Dec 3 17:06:35 CET 2009


Em Quinta-feira 03 Dezembro 2009, às 13:02:59, Johannes Sixt escreveu:
> >     * license header checks 
> 
> Strictly speaking, this is a verification, and should actually be a
> pre-commit hook that prevents that wrong headers enter the repository in
> the first place. But you cannot force users to enable the hook...

A pre-receive hook can do this: it can reject the push and it gets the old and 
the new heads.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20091203/d7d00de0/attachment.sig 


More information about the Kde-scm-interest mailing list