Re: [WIP PATCH 0/5] support --exclude for diff/log commands
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 23, 2011, 13:34 UTC
- Message-ID
- <AANLkTinsVPHV7H_AGHxyGAXpjvJ0n5SvNja1ZBvt4fGd@mail.gmail.com>
- In-Reply-To
- <4D89ECC6.7040903@drmicha.warpmail.net>
On Wed, Mar 23, 2011 at 7:51 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 12 quoted lines
> Note that there is also possible notational overlap with the WIP "attr: > make attributes depend on file type" at > > http://permalink.gmane.org/gmane.comp.version-control.git/168116 > > which suggested something like > > :symlink:* diff=symlinkdiffdriverofyourchoice > > as a notation for attributes which depend on the file type. Is that a > problem, should I do something different there? (Also, I still need help > with that...)
I would do
:{symlink}* diff=symlinkdiffdriverofyourchoiceThere's also blank quote problem in gitattr. Tricks like 'hello.world' would match path 'hello world' but I'd rather have something better. If ':' is the special char, I could teach gitattr to recognize <colon>+<quote> as a mark to do C quotation without regressions.
-- Duy