Re: [PATCH] Add gitattributes file making whitespace checking pickier
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Feb 9, 2008, 17:56 UTC
- Message-ID
- <alpine.LNX.1.00.0802091251430.13593@iabervon.org>
- In-Reply-To
- <20080209162234.GA25533@fieldses.org>
On Sat, 9 Feb 2008, J. Bruce Fields wrote:
Show 10 quoted lines
> From: J. Bruce Fields <bfields@citi.umich.edu> > > 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*