From: Junio C Hamano Date: Tue, 24 Apr 2007 21:40:18 GMT Subject: Re: gitattributes Message-ID: <7v4pn55u4d.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <81b0412b0704240918t70bfb3bt5f0e6e85028be5e6@mail.gmail.com> "Alex Riesen" writes: > On 4/24/07, Matthias Kestenholz wrote: >> The .gitattributes system together with input/output filters has already >> proven exceptionally useful for me. I've got some co-workers which >> do not seem to care about CRLF line endings or whitespace damage. >> >> core.autocrlf = input >> >> and >> >> [filter "whitespace"] >> clean = stripspace >> smudge = cat >> > > Why didn't --ignore-space-at-eol, -b and -w work for you? It should. What Matthias would want more is probably to have others to have the "clean" side of the filter in their working repository.