[Libreoffice] po file and git

Norbert Thiebaud nthiebaud at gmail.com
Mon Aug 15 22:33:50 PDT 2011


you introduced a couple of change in the git hook back in april to
deal with po files....

I'm trying to clean-up the pre-commit git hook to keep it lean and
surprise free.
I'm not very thrilled with the notion that a git hook actually modify
what is being committed on the fly.. in the commit message you
mentioned 'do this in pre-commit' hook instead of .gitattributes
my question is : why ? po file are presumably only in the translations
git right ? what is wrong with dealing with that specifically in the
.gitattributes of the translations repo ?

and if that _has_ to be done that way, then I'd prefer modifying ./g
so that translations has its own pre-commit hook (presumably the
trailing spaces and tabs vs space check is not very useful for
translations anyway).


More information about the LibreOffice mailing list