Re: [PROPOSAL] .gitignore syntax modification
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 13, 2010, 02:40 UTC
- Message-ID
- <20101013024034.GA26483@burratino>
- In-Reply-To
- <F06C63D1-26AE-4278-96CE-2F6B2D6DD300@sb.org>
Kevin Ballard wrote:
> On Oct 12, 2010, at 7:24 PM, Nguyen Thai Ngoc Duy wrote:
>> Special case "**/" (also "path/to/**/") is probably good enough. You >> might need to handle all combinations of "**/" and other optimizations >> in excluded_from_list() though. Can you make a patch (or a few >> patches) for it?
[...]
> At > this point I'm actually in favor of simply assuming all paths that > don't start with / can be matched at any level
As a long-term change with early warnings and proper deprecation procedure that may (or may not) be an ok idea, but in the short term it is certainly a no-go.
If linux-2.6 is any indication of what to expect, some projects are not using / in front of any paths with / at all.