git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitignore patterns

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 9, 2008, 23:25 UTC
Message-ID
<7vprnc3nr7.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<Pine.LNX.4.64.0809091521120.15561@shark.he.net>
"Randy.Dunlap" <rdunlap@xenotime.net> writes:
Show 10 quoted lines
> 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 './+'?

Previous: Randy.DunlapNext: Randy.Dunlap
Message 2 of 3 in “gitignore patterns”
  1. Randy.DunlapSep 9, 2008
  2. Junio C HamanoSep 9, 2008
  3. Randy.DunlapSep 9, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.