X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=GitHooks%2Fpre-commit.in;h=02e3d563de4a4f6337ad318c5c84b412e6450496;hb=cf2074a961bdc166caa0423f03e3901793e667fe;hp=9f1f96032ee17679a35ab35b9a366528343b53b8;hpb=5b6031b015602aa07f5a6fc668c13ac3faf7a8a9;p=modules%2Fshaper.git 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'