This website requires JavaScript.
Explore
Help
Sign In
redonkable
/
alistair23-linux
Watch
1
Star
0
Fork
You've already forked alistair23-linux
0
Code
Releases
Activity
d9595a7b9c
alistair23-linux
/
scripts
/
Lindent
3 lines
65 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Linux-2.6.12-rc2 Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
2005-04-16 16:20:36 -06:00
#!/bin/sh
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 <matthew@wil.cx> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-20 09:29:50 -06:00
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@"
Copy permalink