.git-hooks/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0439823bd328d65973861805c8aec8e6ce1176ff Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Dec 27 10:46:02 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Dec 27 12:10:02 2022 +0000 git pre-commit hook: check .mm files Change-Id: I3e0e0845dab52ffa23ff7a072802da5c0374d200 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144833 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 2e765f76c36d..8dc4a6b751c4 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -15,8 +15,8 @@ $ENV{LC_ALL} = "C"; sub check_whitespaces($) { my ($h) = @_; - my $src_limited = "bas|c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|MK|pmk|pl|pm|sdi|sh|src|tab|ui|vb|xcu|xml|xsl|py"; - my $src_full = "bas|c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|mk|MK|pmk|pl|pm|sdi|sh|src|tab|ui|vb|xcu|xml|xsl|py"; + my $src_limited = "bas|c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|MK|mm|pmk|pl|pm|sdi|sh|src|tab|ui|vb|xcu|xml|xsl|py"; + my $src_full = "bas|c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|mk|MK|mm|pmk|pl|pm|sdi|sh|src|tab|ui|vb|xcu|xml|xsl|py"; my %modules = (basctl=>'basctl', chart2=>'chart', cui=>'cui', dbaccess=>'dba', desktop=>'dkt', editeng=>'editeng', extensions=>'pcr', filter=>'flt', formula=>'for', fpicker=>'fps', framework=>'fwk', reportdesign=>'rpt',