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

[Q] assume unchanged?

From
しらいしななこ <nanako3@bluebottle.com>
Date
Mar 12, 2008, 21:53 UTC
Message-ID
<20080227222243.6117@nanako3.bluebottle.com>
I was looking at the documentation of git-update-index because I thought git-add is the preferred way to do what the command was used for in the old versions of git, and wanted to see if the old command has more features that are missing from git-add.
I noticed that there is --assume-unchanged option, and I read its description three times, but I do not understand it.  What is it good for?  Version control systems are used in order to keep track changes, and if using that option makes my changes ignored, how can it be a good thing?
The manual says "This is sometimes helpful when working with a big project on a filesystem that has very slow lstat(2) system call", but unfortunately it does not answer my question.
Could somebody explain, please?
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/

----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3
Next: Andreas Ericsson
Message 1 of 3 in “[Q] assume unchanged?”
  1. しらいしななこMar 12, 2008
  2. Andreas EricssonMar 13, 2008
  3. Junio C HamanoMar 13, 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.