Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
f008976b
Commit
f008976b
authored
23 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
More updates for GNU indent.
parent
58df3f78
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/tools/pgindent/README
+2
-2
2 additions, 2 deletions
src/tools/pgindent/README
src/tools/pgindent/pgindent
+1
-1
1 addition, 1 deletion
src/tools/pgindent/pgindent
with
3 additions
and
3 deletions
src/tools/pgindent/README
+
2
−
2
View file @
f008976b
...
@@ -17,8 +17,8 @@ for the second bug in:
...
@@ -17,8 +17,8 @@ for the second bug in:
Even with the workaround, installation of the patch produces better
Even with the workaround, installation of the patch produces better
output.
output.
GNU indent, version
1.9.1
, has several
bug
s, and is not recommended.
GNU indent, version
2.2.6
, has several
problem
s, and is not recommended.
These bugs become pretty major when you are doing >
2
00k lines of code.
These bugs become pretty major when you are doing >
4
00k lines of code.
If you don't believe me, take a directory and make a copy. Run pgindent
If you don't believe me, take a directory and make a copy. Run pgindent
on the copy using GNU indent, and do a diff -r. You will see what I
on the copy using GNU indent, and do a diff -r. You will see what I
mean. GNU indent does some things better, but mangles too.
mean. GNU indent does some things better, but mangles too.
...
...
This diff is collapsed.
Click to expand it.
src/tools/pgindent/pgindent
+
1
−
1
View file @
f008976b
...
@@ -15,7 +15,7 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
...
@@ -15,7 +15,7 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
exit
1
exit
1
fi
fi
indent
-version
</dev/null
>
/dev/null 2>&1
indent
-version
</dev/null
>
/dev/null 2>&1
if
[
"
$?
"
-
eq
0
]
if
[
"
$?
"
-
ne
1
]
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
exit
1
exit
1
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment