This website requires JavaScript.
Explore
Help
Register
Sign In
korg
/
linux
Watch
0
Star
0
Fork
0
You've already forked linux
mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced
2024-11-16 16:54:20 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
65809b5125
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-17 06:20:36 +08: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 23:29:50 +08:00
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@"
Reference in New Issue
Copy Permalink