Re: gitignore broken in git 1.7.0.1: slash checks leading dirs
Show 5 quoted lines
> Johannes Sixt wrote:
>> Jiri Slaby schrieb:
>
>>> having 'linux' line in .gitignore makes 'include/linux/vga_switcheroo.h'
>>> to be ignored
Show 6 quoted lines
>> 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