From: azv Date: Mon, 17 Sep 2018 12:15:27 +0000 (+0300) Subject: Do not check *.rst files for trailing whitespaces X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=36a48940ae0a93354ba6053deb4c86ed2b423cbf;p=modules%2Fshaper.git Do not check *.rst files for trailing whitespaces --- diff --git a/GitHooks/pre-commit.in b/GitHooks/pre-commit.in index 9f1f96032..02e3d563d 100644 --- a/GitHooks/pre-commit.in +++ b/GitHooks/pre-commit.in @@ -39,4 +39,4 @@ EOF fi # If there are whitespace errors, print the offending file names and fail. -exec git diff-index --check --cached $against -- +exec git diff-index --check --cached $against -- . ':(exclude)*.rst'