From: Shawn O. Pearce Date: Wed, 21 Feb 2007 17:05:39 GMT Subject: Re: Unresolved issues Message-ID: <20070221170539.GI25559@spearce.org> In-Reply-To: <09D527A1-43E2-41A1-AC46-71F64BC409C2@silverinsanity.com> Brian Gernhardt wrote: > It seems to me that a tracked .gitattributes file should have things > like > > *.txt: text > *.gif: binary > *.[ch]: text > > And the .git/config should have > > [attribute "text"] > mangle = crlf > > [attribute "binary"] > merge = none > > The type of each file should be tracked, but what to do with each > type is a local issue. Trying to merge the two is madness. Yes, exactly. :-) I would also recommend that we encourage use of standard MIME types to define the file types, but don't enforce it. Thus I can setup something like: cat >.gitattributes <>.git/config <