forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitec5f505
Improve exclude pattern file processing in pgindent
This makes two small changes that will improve pgindent's usefulness ina git hook. First, it looks for the exclude file relative to the currentdirectory. And second, it applies the filters to filenames given on thecommand line as well as those found in a directory sweep.It might prove necessary to make further efforts to find the excludefile, and even to allow multiple exclude files, but for now this shouldbe enough for most purposes.Reviewed by Jelte Fennema1 parent9d6f4a6 commitec5f505
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 |
| |
67 | 71 |
| |
68 | 72 |
| |
| |||
421 | 425 |
| |
422 | 426 |
| |
423 | 427 |
| |
424 |
| - | |
425 |
| - | |
426 | 428 |
| |
427 | 429 |
| |
428 | 430 |
| |
429 | 431 |
| |
430 | 432 |
| |
431 | 433 |
| |
432 | 434 |
| |
| 435 | + | |
| 436 | + | |
| 437 | + | |
433 | 438 |
| |
434 | 439 |
| |
435 | 440 |
| |
|
0 commit comments
Comments
(0)