diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 15:10:28 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-20 16:12:11 +0200 |
commit | ecdf8f280379c87e23c8dd1f138d63a75f4a9dbd (patch) | |
tree | a3119ce1bbf7cc92ab8f867c5a2f106b8c2e4951 /.git-hooks | |
parent | 28dff3780f9074f585bd626e2f06c94124ef4910 (diff) |
pre-commit-hook: Also check xsl files for whitespace and tabs
Change-Id: Ibc1520735ab20787496564e8561a6bb5920a5538
Reviewed-on: https://gerrit.libreoffice.org/42280
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
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 e35156f012e6..d4196dbb5008 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -14,8 +14,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"; - 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"; + 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"; + 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"; my $found_bad = 0; my $filename; |