This website requires JavaScript.
Explore
Help
Register
Sign In
Minki
/
linux
Watch
1
Star
0
Fork
1
You've already forked linux
mirror of
https://github.com/torvalds/linux.git
synced
2024-11-12 07:01:57 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
df7939ae8b
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 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 New Issue
Copy Permalink