Re: How to find out which gitignore blocks my git-add
From: Jeff King <hidden>
Date: 2016-06-15 22:46:07
On Sat, Feb 07, 2009 at 12:44:27PM +0000, Sitaram Chamarty wrote:
On 2009-02-07, Jeff King [off-list ref] wrote:quoted
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