* [PATCH] Lindent: ignore .indent.pro
@ 2005-07-13 15:55 Jeff Mahoney
2005-07-13 23:18 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Mahoney @ 2005-07-13 15:55 UTC (permalink / raw)
To: Andrew Morton, Linus Torvalds, Linux Kernel Mailing List
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>
diff -ruNpX dontdiff linux-2.6.13-rc2/scripts/Lindent linux-2.6.13-rc2.fix/scripts/Lindent
--- linux-2.6.13-rc2/scripts/Lindent 2005-03-02 02:38:12.000000000 -0500
+++ linux-2.6.13-rc2.fix/scripts/Lindent 2005-07-13 13:50:35.000000000 -0400
@@ -1,2 +1,2 @@
#!/bin/sh
-indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
+indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
--
Jeff Mahoney
SuSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-13 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13 15:55 [PATCH] Lindent: ignore .indent.pro Jeff Mahoney
2005-07-13 23:18 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®