Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e609ccc3161ead8a685b15533d9b6958ed368358 Commit: e609ccc3161ead8a685b15533d9b6958ed368358 Parent: 178554ae75739e91dc4d7c3e42a3db95448cc5bf Author: Matthew Wilcox <[EMAIL PROTECTED]> AuthorDate: Fri Jul 20 09:29:50 2007 -0600 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Fri Jul 20 08:45:38 2007 -0700
Fix Lindent to not indent preprocessor comments so far I recently ran Lindent over the AdvanSys driver and it moved the comments on #else and #endif lines way over to the right: #else /* ADVANSYS_DEBUG */ This doesn't match what I expect from kernel style, but it is documented. We just need another flag to indent to make this look like: #else /* ADVANSYS_DEBUG */ Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- scripts/Lindent | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/Lindent b/scripts/Lindent index 7d8d889..9468ec7 100755 --- a/scripts/Lindent +++ b/scripts/Lindent @@ -1,2 +1,2 @@ #!/bin/sh -indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@" +indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@" - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html