Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: [PATCH] Add gitattributes file making whitespace checking pickier

From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:44:12

On Sat, 9 Feb 2008, J. Bruce Fields wrote:
From: J. Bruce Fields <redacted>

This will change the notion of "bad" whitespace for the git project to
include initial whitespace that uses spaces where tabs could have been
used.

This only changes which whitespace is considered "bad".  It doesn't
change the behavior when bad whitespace is found.  By default, commands
like git-apply, git-am, and git-rebase will print a warning but
otherwise do nothing.
I think there are files under t/ with different whitespace rules. For 
example, expected format-patch output will have lines that are: "-- "
While you're putting in attributes in general, it'd be nice to take care 
of all of the cases already in the tree.

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help