summaryrefslogtreecommitdiff
path: root/.git-hooks/pre-commit
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-12-27 10:46:02 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-12-27 12:10:02 +0000
commit0439823bd328d65973861805c8aec8e6ce1176ff (patch)
tree5f6761735d40a93a902bb4fb72fb84f3cd6083ea /.git-hooks/pre-commit
parent9d387cc1e7848848c41f29ad91fee44ade79f678 (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to '.git-hooks/pre-commit')
-rwxr-xr-x.git-hooks/pre-commit4
1 files changed, 2 insertions, 2 deletions
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',