From 36a48940ae0a93354ba6053deb4c86ed2b423cbf Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 17 Sep 2018 15:15:27 +0300 Subject: [PATCH] Do not check *.rst files for trailing whitespaces --- GitHooks/pre-commit.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.39.2