git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitattributes don't work
@ 2011-01-03  0:42 Marcin Wiśnicki
  2011-01-03  1:11 ` Jonathan Nieder
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marcin Wiśnicki @ 2011-01-03  0:42 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-04 18:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03  0:42 gitattributes don't work Marcin Wiśnicki
2011-01-03  1:11 ` Jonathan Nieder
2011-01-03  4:34 ` Nguyen Thai Ngoc Duy
2011-01-04  2:16   ` Marcin Wiśnicki
2011-01-04 18:33 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).