[PATCH] Lindent: ignore .indent.pro
authorJeff Mahoney <jeffm@suse.com>
Wed, 13 Jul 2005 15:55:42 +0000 (11:55 -0400)
committerSam Ravnborg <sam@mars.(none)>
Wed, 13 Jul 2005 23:09:16 +0000 (23:09 +0000)
 When I recently submitted a Lindent patch, it turned out that my .indent.pro
 options were also applied to the tree. This patch directs indent(1) to ignore
 the .indent.pro directives and only use options specified on the command
 line.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/Lindent

index 34ed785..7d8d889 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
+indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"