projects
/
platform
/
upstream
/
gst-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc85867
)
pre-commit: Add --leave-preprocessor-space
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 Apr 2010 13:27:41 +0000
(15:27 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 Apr 2010 13:27:41 +0000
(15:27 +0200)
This puts it in sync with core/tools/gst-indent.
hooks/pre-commit.hook
patch
|
blob
|
history
diff --git
a/hooks/pre-commit.hook
b/hooks/pre-commit.hook
index
02641bf
..
607c991
100755
(executable)
--- 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