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

Files excluded but not ignored

From
JWJason Wenger <jcwenger@gmail.com>
Date
Jan 30, 2013, 15:34 UTC
Message-ID
<loom.20130130T161911-66@post.gmane.org>

I prefer to not add core.* files to my ignore listings because I find it helpful to see them in git status -- It helps me notice and clean them up periodically. Not having them ignored is also good ,because it allows git clean to care of core.* files.

The problem is that git add -A, git stash -u, etc, remain interested in the core files.

Trying to start up discussion of whether there would be merit to a "half- ignored" state -- Files which are excluded from tracking, but which still show in git status, and which are removed by git clean.

Not trying to propose yet how .git/exclude or .gitignore would be formatted or anything like that. Just looking for opinions on whether such a state would be considered by the community as a good thing and merit the added complexity in the code.

Next: Junio C Hamano
Message 1 of 3 in “Files excluded but not ignored”
  1. Jason WengerJan 30, 2013
  2. Junio C HamanoJan 30, 2013
  3. Ben AvelingFeb 1, 2013

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.