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

Re: Gitignore matching "git add" wildcard prevents operation

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Jan 15, 2010, 15:39 UTC
Message-ID
<20100115153936.GB12982@vidovic>
In-Reply-To
<4B4F87A0.2090301@sofistes.net>
The 14/01/10, Marko Poutiainen wrote:
> 
> Well, it then the interface just isn't consistent,
But it is...
Show 7 quoted lines
> Well, it then the interface just isn't consistent, because if that's the
> reason, then why does
> 
> $git add .
> 
> then work in this case? . is still just a type of wildcard, so it fail
> in a similar way, shouldn't it?
...because the dot isn't a wildcard. It's a path.

So, we expect 'git add' to recusively work and resolve ignored paths from .gitignore and so.

-- 
Nicolas Sebrecht
Previous: Marko Poutiainen
Message 12 of 12 in “Gitignore matching "git add" wildcard prevents operation”
  1. Marko PoutiainenJan 14, 2010
  2. Jeff KingJan 14, 2010
  3. Junio C HamanoJan 14, 2010
  4. Jeff KingJan 14, 2010
  5. Nicolas SebrechtJan 15, 2010
  6. Jeff KingJan 15, 2010
  7. Nicolas SebrechtJan 15, 2010
  8. Jeff KingJan 15, 2010
  9. Nicolas SebrechtJan 15, 2010
  10. Junio C HamanoJan 15, 2010
  11. Marko PoutiainenJan 14, 2010
  12. Nicolas SebrechtJan 15, 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.