Re: Gitignore matching "git add" wildcard prevents operation
- From
- Nicolas 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