diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-04-12 15:27:41 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-04-12 15:27:41 +0200 |
commit | d948aec6713922042bae0be95eb18373c6dc3f19 (patch) | |
tree | 8df4d784f72d78da5d504bc70b47a986c9370db5 /hooks | |
parent | fc8586793dc45a343772c1e25bf8dd45bbb64210 (diff) |
pre-commit: Add --leave-preprocessor-space
This puts it in sync with core/tools/gst-indent.
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/pre-commit.hook | 3 |
1 files changed, 2 insertions, 1 deletions
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 |