]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Do not check *.rst files for trailing whitespaces
authorazv <azv@opencascade.com>
Mon, 17 Sep 2018 12:15:27 +0000 (15:15 +0300)
committerazv <azv@opencascade.com>
Mon, 17 Sep 2018 12:16:05 +0000 (15:16 +0300)
GitHooks/pre-commit.in

index 9f1f96032ee17679a35ab35b9a366528343b53b8..02e3d563de4a4f6337ad318c5c84b412e6450496 100644 (file)
@@ -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'