forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8ff6d4e
committed
Adjust pgindent script to use pg_bsd_indent 2.0.
Update version-checking code and list of switches. Delete obsoletequasi-support for using GNU indent. Remove a lot of no-longer-neededworkarounds for bugs of the old version, and improve comments forthe hacks that remain. Update run_build() subroutine to fetch thepg_bsd_indent code from the newly established git repo for it.In passing, fix pgindent to not overwrite files that require no changes;this makes it a bit more friendly to run on a built tree.Adjust relevant documentation.Remove indent.bsd.patch; it's not relevant anymore (and was obsoletelong ago anyway). Likewise remove pgcppindent, since we're no longerin the business of shipping C++ code.Piotr Stefaniak is responsible for most of the algorithmic changesto the pgindent script; I did the rest.Discussion:https://postgr.es/m/E1dAmxK-0006EE-1r@gemulon.postgresql.orgDiscussion:https://postgr.es/m/30527.1495162840@sss.pgh.pa.us1 parent9ef2dbe commit8ff6d4e
File tree
5 files changed
+52
-448
lines changed- src/tools/pgindent
5 files changed
+52
-448
lines changedLines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
| |||
57 | 59 |
| |
58 | 60 |
| |
59 | 61 |
| |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 |
| |
61 | 66 |
| |
62 | 67 |
| |
| |||
100 | 105 |
| |
101 | 106 |
| |
102 | 107 |
| |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
107 | 112 |
| |
108 | 113 |
| |
109 | 114 |
| |
| |||
132 | 137 |
| |
133 | 138 |
| |
134 | 139 |
| |
135 |
| - | |
136 |
| - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
137 | 144 |
| |
138 | 145 |
| |
139 | 146 |
| |
|
Lines changed: 0 additions & 288 deletions
This file was deleted.
Lines changed: 0 additions & 29 deletions
This file was deleted.
0 commit comments
Comments
(0)