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 4, 2013, 22:24 UTC
Message-ID
<1370384666.57411.YahooMailNeo@web172701.mail.ir2.yahoo.com>
In-Reply-To
<1370384339.31882.YahooMailNeo@web172702.mail.ir2.yahoo.com>
Forgot to mention, also this command doesn't work
git archive --worktree-attributes  -v --format tgz -o ../boinc_7.1.7+dfsg.orig.tar.gz -9 --prefix boinc-7.1.7+dfsg/ client_release/7.1/7.1.7
Gianfranco
----- Messaggio inoltrato -----
Show 35 quoted lines
> Da: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
> A: "git@vger.kernel.org" <git@vger.kernel.org>
> Cc: 
> Inviato: Mercoledì 5 Giugno 2013 0:18
> Oggetto: git archive --worktree-attributes doesn't exclude .gitattributes anymore
> 
>g it version 1.8.1.2
> (please cc me, I'm not subscribed to this list)
> 
> 
> Hi Developers, I write here because since my ubuntu update (quantal to raring)
> and git update from 1.7.10.4-1ubuntu1 to 1.8.1.2
> 
> my export script doesn't work anymore.
> 
> I tried to put .gitattributes or .git/info/attributes, the file is the following
> http://pastebin.com/irngA1L8
> 
> the git is
> git clone http://boinc.berkeley.edu/git/boinc-v2.git
> 
> and the command is
> 
> git archive --prefix boinc-7.1.7+dfsg/ --format tgz -o 
> ../boinc_7.1.7+dfsg.orig.tar.gz -9  client_release/7.1/7.1.7
> 
> The archive gets created, but every file is inside, no exclusions at all.
> 
> I suspect a regression between git 1.7 and 1.8
> 
> thanks for your time
> 
> 
> Gianfranco
> 
Previous: Gianfranco CostamagnaNext: Jeff King
Message 2 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.