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

Re: git reset and ctime

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 4, 2010, 02:28 UTC
Message-ID
<7v62vaxoen.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20101204005131.GB15906@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
> That said, I have no strong objection to an implicit refresh in "git
> reset" (performance-sensitive scripts should be using read-tree
> directly anyway).  Have you tried making that change to
> builtin/reset.c?  How does it perform in practice?

I would be more worried about correctness impact such a patch may make when the index contains unmerged entries.

Previous: Jonathan NiederNext: Drew Northup
Message 5 of 8 in “git reset and ctime”
  1. ghazel@gmail.comDec 3, 2010
  2. Jonathan NiederDec 4, 2010
  3. ghazel@gmail.comDec 4, 2010
  4. Jonathan NiederDec 4, 2010
  5. Junio C HamanoDec 4, 2010
  6. Drew NorthupDec 6, 2010
  7. Jonathan NiederDec 6, 2010
  8. Drew NorthupDec 7, 2010

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.