{"thread":{"id":"15465","subject":"gitignore patterns","startedAt":"2008-09-09T22:23:30Z","lastAt":"2008-09-09T23:28:24Z","messageCount":3,"participants":["Randy.Dunlap","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"90280","messageId":"Pine.LNX.4.64.0809091521120.15561@shark.he.net","threadId":"15465","inReplyTo":null,"subject":"gitignore patterns","fromName":"Randy.Dunlap","fromEmail":"rdunlap@xenotime.net","sentAt":"2008-09-09T22:23:30Z","receivedAt":"2008-09-09T22:23:30Z","isPatch":false,"sender":{"key":"rdunlap@xenotime.net","avatar":null},"body":"Hi,\n\nIn the kernel tree, I see 2 .gitignore files that use \"+pattern\":\n\n./arch/blackfin/include/asm/.gitignore:+mach\n./arch/blackfin/boot/.gitignore:+vmImage\n\nHowever, I can't find anything about '+' on the gitignore(5) man page\nat http://www.kernel.org/pub/software/scm/git/docs/gitignore.html .\n\nDoes the '+' mean something special or is it just a character in the\nfilename/dir pattern?\n\nThanks,\n-- \n~Randy\n"},{"id":"90290","messageId":"7vprnc3nr7.fsf@gitster.siamese.dyndns.org","threadId":"15465","inReplyTo":"Pine.LNX.4.64.0809091521120.15561@shark.he.net","subject":"Re: gitignore patterns","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-09-09T23:25:48Z","receivedAt":"2008-09-09T23:25:48Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Randy.Dunlap\" <rdunlap@xenotime.net> writes:\n\n> In the kernel tree, I see 2 .gitignore files that use \"+pattern\":\n>\n> ./arch/blackfin/include/asm/.gitignore:+mach\n> ./arch/blackfin/boot/.gitignore:+vmImage\n>\n> However, I can't find anything about '+' on the gitignore(5) man page\n> at http://www.kernel.org/pub/software/scm/git/docs/gitignore.html .\n>\n> Does the '+' mean something special or is it just a character in the\n> filename/dir pattern?\n\nAFAIR, this should be just a shell glob fnmatch(3) understands, so perhaps\ntheir build procedure leaves temporary droppings in a file whose filename\nis prefixed with './+'?\n"},{"id":"90291","messageId":"Pine.LNX.4.64.0809091627550.15561@shark.he.net","threadId":"15465","inReplyTo":"7vprnc3nr7.fsf@gitster.siamese.dyndns.org","subject":"Re: gitignore patterns","fromName":"Randy.Dunlap","fromEmail":"rdunlap@xenotime.net","sentAt":"2008-09-09T23:28:24Z","receivedAt":"2008-09-09T23:28:24Z","isPatch":false,"sender":{"key":"rdunlap@xenotime.net","avatar":null},"body":"On Tue, 9 Sep 2008, Junio C Hamano wrote:\n\n> \"Randy.Dunlap\" <rdunlap@xenotime.net> writes:\n> \n> > In the kernel tree, I see 2 .gitignore files that use \"+pattern\":\n> >\n> > ./arch/blackfin/include/asm/.gitignore:+mach\n> > ./arch/blackfin/boot/.gitignore:+vmImage\n> >\n> > However, I can't find anything about '+' on the gitignore(5) man page\n> > at http://www.kernel.org/pub/software/scm/git/docs/gitignore.html .\n> >\n> > Does the '+' mean something special or is it just a character in the\n> > filename/dir pattern?\n> \n> AFAIR, this should be just a shell glob fnmatch(3) understands, so perhaps\n> their build procedure leaves temporary droppings in a file whose filename\n> is prefixed with './+'?\n\nOK, I'll ask the blackfin developers/maintainers about it.\n\nThanks.\n-- \n~Randy\n"}]}