From: Jonathan Nieder Date: Fri, 05 Mar 2010 15:15:53 GMT Subject: Re: gitignore broken in git 1.7.0.1: slash checks leading dirs Message-ID: <20100305151553.GB24748@progeny.tock> In-Reply-To: <20100305151248.GA24748@progeny.tock> Jonathan Nieder wrote: > Johannes Sixt wrote: >> Jiri Slaby schrieb: > >>> having 'linux' line in .gitignore makes 'include/linux/vga_switcheroo.h' >>> to be ignored [...] >> and this citation confirms my expectation. Note that it says "pathname", >> not "filename". 'include/linux' is a "pathname". > > It would be more precise to say this citation does not have much to do > with it. 'include/linux' contains a slash, so that paragraph does not > describe what it means. Curse my quick reading. Sorry for the nonsense, please ignore. My suggested patch still might make sense, though. :) Jonathan