From: Junio C Hamano Date: Tue, 09 Sep 2008 23:25:48 GMT Subject: Re: gitignore patterns Message-ID: <7vprnc3nr7.fsf@gitster.siamese.dyndns.org> In-Reply-To: "Randy.Dunlap" writes: > In the kernel tree, I see 2 .gitignore files that use "+pattern": > > ./arch/blackfin/include/asm/.gitignore:+mach > ./arch/blackfin/boot/.gitignore:+vmImage > > However, I can't find anything about '+' on the gitignore(5) man page > at http://www.kernel.org/pub/software/scm/git/docs/gitignore.html . > > Does the '+' mean something special or is it just a character in the > filename/dir pattern? AFAIR, this should be just a shell glob fnmatch(3) understands, so perhaps their build procedure leaves temporary droppings in a file whose filename is prefixed with './+'?