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

Re: [BUG] git clean -X behaviour when .gitignore has sub-directory entries

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Oct 3, 2010, 19:12 UTC
Message-ID
<20101003191209.GA22743@burratino>
In-Reply-To
<4CA8D1B4.1020801@nuecho.com>
Jean-Philippe Gariépy wrote:
>  On 09/27/2010 04:36 PM, Jonathan Nieder wrote:
Show 8 quoted lines
>>...
>>  1) a/b/f is not actually considered excluded; only its containing
>>     directory is.
>>
>>  2) git clean does not even examine a/b to consider whether to remove
>>     it: since a/ does not contain any tracked files, it stopped there.
>
> Ok, thanks for your analysis.  Do you consider it a bug?
Yes.
Previous: Jean-Philippe Gariépy
Message 4 of 4 in “[BUG] git clean -X behaviour when .gitignore has sub-directory entries”
  1. Jean-Philippe GariépySep 27, 2010
  2. Jonathan NiederSep 27, 2010
  3. Jean-Philippe GariépyOct 3, 2010
  4. Jonathan NiederOct 3, 2010

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.