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

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

From
Jeff King <peff@peff.net>
Date
Jun 5, 2013, 07:10 UTC
Message-ID
<20130605071055.GB14427@sigill.intra.peff.net>
In-Reply-To
<1370412601.77980.YahooMailAndroidMobile@web172702.mail.ir2.yahoo.com>
On Wed, Jun 05, 2013 at 07:10:01AM +0100, Gianfranco Costamagna wrote:
> Just a question, is it possible to add a new test for handling this
> kind of regressions?
Yes, I added one in commit efa5f825.
> 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)

The fix took a fair bit of refactoring; it's in commits 9db9eec..efa5f825. You can either cherry-pick that range, or just use "git diff" to generate a patch.

However, for Debian, I don't see much point. Everything up through unstable does not have the bug (it is all 1.7.10.x or older), and the version in experimental is already 1.8.3. So as far as I can tell, no Debian release is currently shipping a buggy version.

-Peff
Previous: Jeff KingNext: Gianfranco Costamagna
Message 4 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.