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

gitignore patterns

From
RRandy.Dunlap <rdunlap@xenotime.net>
Date
Sep 9, 2008, 22:23 UTC
Message-ID
<Pine.LNX.4.64.0809091521120.15561@shark.he.net>
Hi,
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?

Thanks,
-- 
~Randy
Next: Junio C Hamano
Message 1 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.