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

Re: How to track history of personal changes in a repository?

From
Philip Oakley <philipoakley@iee.email>
Date
Aug 31, 2019, 13:32 UTC
Message-ID
<2737a9f3-769d-5dc7-ca4e-ef4dbdde70f6@iee.email>
In-Reply-To
<CABPp-BEWn1wHdxWM8cVqmvzYo8HDdUzuh4G-XTN51o8JdvkrCw@mail.gmail.com>
Hi Elijah, Matt
On 30/08/2019 16:21, Elijah Newren wrote:
> * If the changes are to files that are tracked, AND you aren't making
> changes to those same files that do need to be committed and pushed,
> use the assume-unchanged bit (see git-update-index(1)).
Not sure I parsed that well but...

The `assume-unchanged bit` is commonly miss-construed as a promise by Git that it will ignore changes to the file.

That is incorrect. The bit is a promise by the _user_ that they won't change the file, so that, in general Git stops checking for updates to the file. However it will check for updates sometimes, leading to unexpected effects if the user has the wrong mental model, thinking that Git would ignore their changes...

Philip
Previous: Elijah NewrenNext: Matthew McClure
Message 5 of 6 in “How to track history of personal changes in a repository?”
  1. Matthew McClureAug 29, 2019
  2. Elijah NewrenAug 29, 2019
  3. Matthew McClureAug 29, 2019
  4. Elijah NewrenAug 30, 2019
  5. Philip OakleyAug 31, 2019
  6. Matthew McClureSep 3, 2019

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.