From d948aec6713922042bae0be95eb18373c6dc3f19 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 12 Apr 2010 15:27:41 +0200 Subject: pre-commit: Add --leave-preprocessor-space This puts it in sync with core/tools/gst-indent. --- hooks/pre-commit.hook | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook index 02641bf..607c991 100755 --- a/hooks/pre-commit.hook +++ b/hooks/pre-commit.hook @@ -42,7 +42,8 @@ INDENT_PARAMETERS="--braces-on-if-line \ --continuation-indentation4 \ --honour-newlines \ --tab-size8 \ - --indent-level2" + --indent-level2 \ + --leave-preprocessor-space" echo "--Checking style--" for file in `git-diff-index --cached --name-only HEAD --diff-filter=ACMR| grep "\.c$"` ; do -- cgit v1.2.3