-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a reindent script, and do another indent run so that everyone tha…
…t works one the project is happy. It should also be closer to PostgreSQL's indentation.
- Loading branch information
Marc Cousin
committed
Aug 26, 2014
1 parent
6b602f4
commit 4eadf38
Showing
2 changed files
with
112 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#/bin/sh | ||
|
||
# This reindents all C files in the directory following PG rules (ported to gnu indent) | ||
# as some of us have tab=8 spaces, and others tab=4 spaces | ||
|
||
indent -bad -bap -bbo -bbb -bc -bl -brs -c33 -cd33 -cdb -nce -ci4 -cli0 \ | ||
-cp33 -cs -d0 -di12 -nfc1 -nfca -nfc1 -i4 -nip -l79 -lp -nip -npcs \ | ||
-nprs -npsl -saf -sai -saw -nsc -nsob -nss -nut *.c |