X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=GitHooks%2Fpre-commit.in;h=02e3d563de4a4f6337ad318c5c84b412e6450496;hb=90a04fa2943fd985a9dbabc839313a8744d898fc;hp=9f1f96032ee17679a35ab35b9a366528343b53b8;hpb=9d4534592975d8e69f423e5f2e7d3bacee05a0db;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'