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

Re: GitAttributes feature export-ignore works, but -export-ignore (with dash) should also work

From
MLM Lewis <picevio@gmail.com>
Date
Nov 21, 2019, 15:45 UTC
Message-ID
<1e9e3272-f97b-9944-817f-778deec2e65c@gmail.com>
In-Reply-To
<20191121075837.GA30966@sigill.intra.peff.net>
Jeff,

Thank you for taking this on. I tried your suggestion copied below. The 'needed_a' (and _b) directories appear in the archive but unfortunately they are empty. We need the contents of the directories in the archive.

On 11/20/2019 11:58 PM, Jeff King wrote:
Show 9 quoted lines
> Instead, if you write it like this:
>
>    /mostly_unuseful/**        export-ignore
>    /mostly_unuseful/needed_a -export-ignore
>    /mostly_unuseful/needed_b -export-ignore
>
> ... And given that there's already a
> solution using `**`, it might not be worth it.
>
Previous: Jeff KingNext: Jeff King
Message 5 of 6 in “GitAttributes feature export-ignore works, but -export-ignore (with dash) should also work”
  1. M LewisNov 20, 2019
  2. Jeff KingNov 21, 2019
  3. Junio C HamanoNov 21, 2019
  4. Jeff KingNov 22, 2019
  5. M LewisNov 21, 2019
  6. Jeff KingNov 22, 2019

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.