Re: gitattributes don't work
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 3, 2011, 01:11 UTC
- Message-ID
- <20110103011113.GF30506@burratino>
- In-Reply-To
- <ifr610$3kl$1@dough.gmane.org>
Marcin Wiśnicki wrote:
> I'm trying to exclude certain paths (those that contain "xmac/gen/") from > diff output using .git/info/attributes (not .gitattributes).
Tricky. Have you tried
xmac?gen? -diff
? You might also be interested in the nd/struct-pathspec branch:
git clone git://repo.or.cz/git.git cd git git log --grep=nd/struct-pathspec
for some work and explanation on patterns used to specify paths.
Regards, Jonathan