additional git hook ?

Miklos Vajna vmiklos at suse.cz
Thu Oct 25 07:43:08 PDT 2012


On Thu, Oct 25, 2012 at 03:35:16PM +0100, Caolán McNamara <caolanm at redhat.com> wrote:
> I don't want 
> <property name="use_markup">...
> to appear in any check-in of a .ui file. What's the right way to get
> some such rules into our git-hooks ?

.git-hooks/pre-commit in core.git has already a check for SAL_DEBUG, you
can stuck yet another regex there, I guess. Just make sure to extend
$src_full to check for .ui files as well.


More information about the LibreOffice mailing list