git/list[1] front-page[2] threads[3] people[4] search[5] about
 

I: git archive --worktree-attributes doesn't exclude .gitattributes anymore

From
Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Date
Jun 5, 2013, 07:22 UTC
Message-ID
<1370416964.91753.YahooMailNeo@web172706.mail.ir2.yahoo.com>
In-Reply-To
<1370412601.77980.YahooMailAndroidMobile@web172702.mail.ir2.yahoo.com>
Sending again, the list strips html
>Oh many thanks for your answer Jeff!
>I was wondering about a fault in my side!
>I was already building 1.8.3 when I sent the first mail...
>Anyway
 your software has a bunch of tests that make compilation a little slow 
(and no, I don't want to disable them, they are there for a really good 
reason).
>Just a question, is it possible to add a new test for handling this kind of regressions?
>And
 second, is it possible to have a patch for this problem? I'll be glad 
to backport in debian, or to take care of updating the whole git package
 (it is already in experimental BTW)
>Thanks
>G.
----- Messaggio inoltrato -----
Show 50 quoted lines
>Da: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
>A: "peff@peff.net" <peff@peff.net>; "git@vger.kernel.org" <git@vger.kernel.org> 
>Inviato: Mercoledì 5 Giugno 2013 8:10
>Oggetto: Re: git archive --worktree-attributes doesn't exclude .gitattributes  anymore
> 
>
>
>Oh many thanks for your answer Jeff!
>I was wondering about a fault in my side!
>I was already building 1.8.3 when I sent the first mail...
>Anyway your software has a bunch of tests that make compilation a little slow (and no, I don't want to disable them, they are there for a really good reason).
>Just a question, is it possible to add a new test for handling this kind of regressions?
>And second, is it possible to have a patch for this problem? I'll be glad to backport in debian, or to take care of updating the whole git package (it is already in experimental BTW)
>Thanks
>G.
>Sent from Yahoo! Mail on Android 
>
>
>
>________________________________
> 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 
>Sent:  Wed, Jun 5, 2013 3:13:49 AM 
>
>
>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
> 
>
> 
Previous: Gianfranco Costamagna
Message 6 of 6 in “git archive --worktree-attributes doesn't exclude .gitattributes anymore”
  1. Gianfranco CostamagnaJun 4, 2013
  2. I: git archive --worktree-attributes doesn't exclude .gitattributes anymoreGianfranco Costamagna, Jun 4, 2013
  3. Jeff KingJun 5, 2013
  4. Jeff KingJun 5, 2013
  5. Gianfranco CostamagnaJun 5, 2013
  6. I: git archive --worktree-attributes doesn't exclude .gitattributes anymoreGianfranco Costamagna, Jun 5, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.