[PATCH] Lindent: ignore .indent.pro

From: Jeff Mahoney
Date: Wed Jul 13 2005 - 10:57:09 EST



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@xxxxxxxx>

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/