8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3652d2 commit c51d813Copy full SHA for c51d813
src/PGINDENT
@@ -3,10 +3,6 @@
3
# This can format all PostgreSQL *.c and *.h files,
4
# excluding libpq++, *.y, and *.l files.
5
#
6
-#
7
-# This can format all PostgreSQL *.c and *.h files,
8
-# excluding libpq++, *.y, and *.l files.
9
10
# On 09/06/1997, from the top directory, I ran:
11
12
# find . -name '*.[ch]' -type f -print | grep -v '++' | xargs -n100 PGINDENT
@@ -33,7 +29,7 @@ do
33
29
\2;g' | # workaround for indent bug
34
30
detab -t4 -qc |
35
31
sed 's;^DATA(.*$;/*&*/;' >/tmp/$$a # protect backslashes in DATA()
36
- indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -nfc1 -di12 -l70 \
32
+ indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l70 \
37
-lp -nip -npro /tmp/$$a >/tmp/$$ 2>&1
38
if [ "$?" -ne 0 -o -s /tmp/$$ ]
39
then echo "$FILE"
0 commit comments