Whitespace options
- From
- Gerd Knops <gerti-git@bitart.com>
- Date
- Apr 2, 2009, 19:18 UTC
- Message-ID
- <3C72F4A7-9B7A-44D0-B13D-FD534EB02C27@bitart.com>
Hi all,
I think there should be a whitespace option that ignores lines that consists completely of whitespace vs lines with actual trailing whitespace preceded by non-whitespace.
The reason is that many editors (especially those supporting indent- based code folding) keep 'empty' lines at the current indentation level. git (with default settings) flags all those lines.
I know I could just remove 'trailing-space' from 'core.whitespace', but I would actually still like be notified about the case where a line that is not whitespace only ends with trailing whitespace.
Thanks
Gerd