gitattributes don't work

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcin =?iso-8859-2?q?Wi=B6nicki?=
Date: Sunday, January 2, 2011 - 5:42 pm

I'm trying to exclude certain paths (those that contain "xmac/gen/") from 
diff output using .git/info/attributes (not .gitattributes).

According to gitattributes(5) it supports patterns from gitignore(5).

Example path that must be excluded:
src/byucc/jhdl/CSRC/xmac/gen/and2_dp_g.xmac

What I've tried but didn't work:
xmac/gen/ -diff

Following works but is not what I want:
*.xmac -diff

It seems I can only get it to work for file names but not for whole paths.
What am I doing wrong or is this a bug ?

git version 1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gitattributes don't work, Marcin =?iso-8859-2? ..., (Sun Jan 2, 5:42 pm)
Re: gitattributes don't work, Jonathan Nieder, (Sun Jan 2, 6:11 pm)
Re: gitattributes don't work, Nguyen Thai Ngoc Duy, (Sun Jan 2, 9:34 pm)
Re: gitattributes don't work, Marcin =?iso-8859-2? ..., (Mon Jan 3, 7:16 pm)
Re: gitattributes don't work, Junio C Hamano, (Tue Jan 4, 11:33 am)