Thread (30 messages) flat view 30 messages, 5 authors, 2016-06-15

Re: [PATCH] whitespace: fix initial-indent checking

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:59

Possibly related (same subject, not in this thread)

"J. Bruce Fields" [off-list ref] writes:
quoted
quoted
I prefer to use tabs for indent, but _spaces_ for align. While previous,
less strict version of check catches indent using spaces, this one also
catches _align_ using spaces.
No, the previous version didn't work for the align-with-spaces case
either.
When indent-with-non-tab is in effect, it should tabify spaces in indent
as much as possible.  The error definition is deliberately incompatible
with "align with spaces" policy.

The reason I made indent-with-non-tab configurable was to cater to these
people.  They can turn it off if they do not want it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help