From: Jeff King <peff@peff.net>
To: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git archive --worktree-attributes doesn't exclude .gitattributes anymore
Date: Tue, 4 Jun 2013 23:13:49 -0400 [thread overview]
Message-ID: <20130605031349.GA6727@sigill.intra.peff.net> (raw)
In-Reply-To: <1370384339.31882.YahooMailNeo@web172702.mail.ir2.yahoo.com>
On Tue, Jun 04, 2013 at 11:18:59PM +0100, Gianfranco Costamagna wrote:
> git version 1.8.1.2
> [...]
> I tried to put .gitattributes or .git/info/attributes, the file is the following
> http://pastebin.com/irngA1L8
> [...]
> The archive gets created, but every file is inside, no exclusions at all.
>
> I suspect a regression between git 1.7 and 1.8
Yes, there was a regression with matching directory names in
gitattributes in v1.8.1.1. The regression is fixed in v1.8.1.6 and
above.
If upgrading is too hard, I think you can work around it by putting
"win_build/" instead of "win_build" in your .gitattributes (after
v1.8.1.6, both should work for your case).
-Peff
next prev parent reply other threads:[~2013-06-05 3:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 22:18 git archive --worktree-attributes doesn't exclude .gitattributes anymore Gianfranco Costamagna
2013-06-04 22:24 ` I: " Gianfranco Costamagna
2013-06-05 3:13 ` Jeff King [this message]
[not found] ` <1370412601.77980.YahooMailAndroidMobile@web172702.mail.ir2.yahoo.com>
2013-06-05 7:10 ` Jeff King
2013-06-05 7:20 ` Gianfranco Costamagna
2013-06-05 7:22 ` I: " Gianfranco Costamagna
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=20130605031349.GA6727@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=costamagnagianfranco@yahoo.it \
--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).