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

Re: [PATCH 3/3] Add shortcut in refresh_cache_ent() for marked entries.

From
Marius Storm-Olsen <marius@trolltech.com>
Date
May 30, 2008, 13:14 UTC
Message-ID
<483FFDAC.8090606@trolltech.com>
In-Reply-To
<c581c03d8d8bfc76753018d4399a79b02a057186.1212152269.git.marius@trolltech.com>
Marius Storm-Olsen said the following on 30.05.2008 14:38:
Show 6 quoted lines
> When a cache entry has been marked as CE_VALID, the user has
> promised us that any change in the work tree does not matter.
> Just mark the entry as up-to-date, and continue.
> 
> Done-by: Junio C Hamano <gitster@pobox.com>
> Signed-off-by: Marius Storm-Olsen <marius@trolltech.com>

This patch actually cuts the commit/status time in half for me, on my Windows machine, when the whole work tree is validated, and core.ignoreStat == true.

-- 
.marius [@trolltech.com]
'if you know what you're doing, it's not research'
Previous: Marius Storm-OlsenNext: Marius Storm-Olsen
Message 7 of 11 in “Ensure that commit/status don't stat all files when core.ignoreStat = true”
  1. Ensure that commit/status don't stat all files when core.ignoreStat = trueMarius Storm-Olsen, May 27, 2008
  2. Junio C HamanoMay 27, 2008
  3. Marius Storm-OlsenMay 27, 2008
  4. 1/3 Clearify the documentation for core.ignoreStatMarius Storm-Olsen, May 30, 2008
  5. 2/3 Introduce core.showUntrackedFiles to make it possible to disable showing of untracked files.Simon Hausmann, May 30, 2008
  6. 3/3 Add shortcut in refresh_cache_ent() for marked entries.Marius Storm-Olsen, May 30, 2008
  7. Marius Storm-OlsenMay 30, 2008
  8. Marius Storm-OlsenMay 30, 2008
  9. Marius Storm-OlsenMay 30, 2008
  10. Junio C HamanoMay 30, 2008
  11. Marius Storm-OlsenMay 31, 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.