[gst-cvs] common: pre-commit: Add --leave-preprocessor-space

Edward Hervey bilboed at kemper.freedesktop.org
Mon Apr 12 07:23:36 PDT 2010


Module: common
Branch: master
Commit: d948aec6713922042bae0be95eb18373c6dc3f19
URL:    http://cgit.freedesktop.org/gstreamer/common/commit/?id=d948aec6713922042bae0be95eb18373c6dc3f19

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Mon Apr 12 15:27:41 2010 +0200

pre-commit: Add --leave-preprocessor-space

This puts it in sync with core/tools/gst-indent.

---

 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





More information about the Gstreamer-commits mailing list