Re: How to find out which gitignore blocks my git-add
- From
Jeff King <peff@peff.net>
- Date
- Feb 7, 2009, 13:31 UTC
- Message-ID
- <20090207133108.GA20253@coredump.intra.peff.net>
- In-Reply-To
- <slrngor0hb.cq.sitaramc@sitaramc.homelinux.net>
On Sat, Feb 07, 2009 at 12:44:27PM +0000, Sitaram Chamarty wrote:
Show 11 quoted lines
> On 2009-02-07, Jeff King <peff@peff.net> wrote: > > A toy patch series follows; see 2/2 for a description of why it doesn't > > work like you might hope. I'm not too interested in trying to deal with > > the refactoring that would be required to do it right. But maybe > > somebody else is. > > I was thinking it could simply be a separate utility in > contrib for starters, perhaps not even written in C. I > don't mind volunteering to write one in shell+the usual > toolchain (and I'll test it on msysgit too, because I have > Windows users). My C days are a bit behind me, sadly...
Sure, that might be an easy way to start. But in the long term, having a separate implementation handling .gitignore parsing and rules may diverge from what git is doing. OTOH, in theory those rules are pretty well set in stone since users are depending on them.
-Peff