Browse Source

[PATCH] Lindent: ignore .indent.pro

 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>
Jeff Mahoney 20 năm trước cách đây
mục cha
commit
66da665ca3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/Lindent

+ 1 - 1
scripts/Lindent

@@ -1,2 +1,2 @@
 #!/bin/sh
 #!/bin/sh
-indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
+indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"