From: Henrik Grubbström Date: Fri, 02 Apr 2010 19:23:21 GMT Subject: Re: [PATCH 2/2] Attr: Allow macros to override earlier attributes. Message-ID: In-Reply-To: On Fri, 2 Apr 2010, Henrik Grubbström (Grubba) wrote: > Macros need to be able to override earlier attribute values. > Consider a .gitattributes file with the following content: > > [attr]mybinary binary -ident > * ident > foo.bin mybinary > > Without this patch foo.bin will still have the ident attribute set. On closer thought, the approach taken by this patch wasn't a good idea, since it doesn't handle the case: bar.bin mybinary ident -- Henrik Grubbström grubba@roxen.com Roxen Internet Software AB