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

gitignore: regex for the current dir files only?

From
Yasushi SHOJI <yashi@atmark-techno.com>
Date
Jun 8, 2006, 02:13 UTC
Message-ID
<87mzcol7i3.wl@mail2.atmark-techno.com>
Hello,

this problem came up when I was editing vmlinux.lds.S in the kernel tree.

because we have "vmlinux*" in the toplevel .gitignore in linus's tree, all vmlinux.lds.S under arch/$(ARCH)/kernel/ is affected. for kernel, it might as easier to remove "*" from the exp. but I was wandering if it's worth to have an expression for gitignore to handle "a regex for the current dir only"?

comments?
--
       yashi
Next: Junio C Hamano
Message 1 of 2 in “gitignore: regex for the current dir files only?”
  1. Yasushi SHOJIJun 8, 2006
  2. Junio C HamanoJun 8, 2006

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.