Thread (1 message) 1 message, 1 author, 2016-06-15

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

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

"J. Bruce Fields" [off-list ref] writes:
Which is: I do get the occasional kernel patch with whitespace problems
uncaught by git's existing checks.  It's annoying to have to fix them up
manually (but wastes Andrew Morton's time if I don't).  This shouldn't
be necessary, because the kernel has a simple policy for initial
whitespace that is completely automatable.

If we've got to define a fourth whitespace policy for this, well, OK,
I'll live--tell me what I need to do.  I haven't seen a convincing
argument for that yet, though.
There is one "fix" you earlier implemented but there is no way to check
in the current infrastructure of checking one line at a time.  A run of
blank lines at the end of file.

I personallyy find it much more interesting and useful than the "align
with space" discussion.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help