[Libreoffice-commits] core.git: .git-hooks/pre-commit
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Wed Sep 20 14:12:44 UTC 2017
.git-hooks/pre-commit | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ecdf8f280379c87e23c8dd1f138d63a75f4a9dbd
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Thu Sep 14 15:10:28 2017 +0200
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 at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
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;
More information about the Libreoffice-commits
mailing list