From: "Marcin Wiśnicki" <mwisnicki@gmail.com>
To: git@vger.kernel.org
Subject: gitattributes don't work
Date: Mon, 3 Jan 2011 00:42:08 +0000 (UTC) [thread overview]
Message-ID: <ifr610$3kl$1@dough.gmane.org> (raw)
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
next reply other threads:[~2011-01-03 0:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-03 0:42 Marcin Wiśnicki [this message]
2011-01-03 1:11 ` gitattributes don't work 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ifr610$3kl$1@dough.gmane.org' \
--to=mwisnicki@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).