This website requires JavaScript.
Explore
Help
Sign In
q3k
/
linux
Watch
1
Star
0
Fork
You've already forked linux
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
d082d3ce32
linux
/
scripts
/
Lindent
3 lines
65 B
Text
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 22:20:36 +00: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 15:29:50 +00:00
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@"
Reference in a new issue
Copy permalink