Re: [PATCH 2/2] Attr: Allow macros to override earlier attributes.
- From
- Henrik Grubbström <grubba@roxen.com>
- Date
- Apr 2, 2010, 19:23 UTC
- Message-ID
- <Pine.GSO.4.63.1004022118300.26349@shipon.roxen.com>
- In-Reply-To
- <f02815e3761a8050aa76f46cd19288e72da14206.1270216006.git.grubba@grubba.org>
On Fri, 2 Apr 2010, Henrik Grubbström (Grubba) wrote:
Show 8 quoted lines
> 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