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

Re: Ignore updates to files which are ignored, even if they're indexed.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 18, 2016, 06:38 UTC
Message-ID
<alpine.DEB.2.20.1605180830110.3477@virtualbox>
In-Reply-To
<CAK-5vhzvuwteJgWSkAhAAFf9-L4FSs2o58yNF5rQQrrE231d3w@mail.gmail.com>
Hi Josh,
On Tue, 17 May 2016, Josh McCullough wrote:
> TL;DR: Git should ignore files if they are in `.gitignore`, regardless
> of whether or not the file has changed (or been removed).

This would break at least one of my setups, where I was too lazy to add negative rules to .gitignore.

I imagine that I am not the only one relying on the current behavior. Which means that you would need to tread very carefully should you choose to work on this.

Besides, it sounds like you want certain files to be "tracked a little", and at the same time be "untracked a little".

Maybe there is a better solution. Would you care to describe your use case in more detail, in particular the goal?

Ciao, Johannes

Previous: Josh McCullough
Message 2 of 2 in “Ignore updates to files which are ignored, even if they're indexed.”
  1. Josh McCulloughMay 18, 2016
  2. Johannes SchindelinMay 18, 2016

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.