Whitespace options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux