diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-12-20 10:18:22 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-12-20 11:57:45 +0000 |
commit | 383c309baac455f23ca78df031996cf2b56385d6 (patch) | |
tree | 7fad3db900e559d6efe161ee64a643e39a6f96b8 /.git-hooks | |
parent | c4e732c27f552da59681045413288988b3425688 (diff) |
git pre-commit hook: check .bas and .vb files as well
Those are used in basic/qa
Change-Id: Idf444bbd540d3f23450db1586489f27df64e09a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144582
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to '.git-hooks')
-rwxr-xr-x | .git-hooks/pre-commit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 51c1de751672..2e765f76c36d 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 = "c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|MK|pmk|pl|pm|sdi|sh|src|tab|ui|xcu|xml|xsl|py"; - my $src_full = "c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|mk|MK|pmk|pl|pm|sdi|sh|src|tab|ui|xcu|xml|xsl|py"; + 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 %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', |