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

Re: [PATCH] name-rev: tolerate clock skew in committer dates

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 24, 2007, 19:46 UTC
Message-ID
<Pine.LNX.4.64.0705242042530.4648@racer.site>
In-Reply-To
<7vr6p6vxgs.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 24 May 2007, Junio C Hamano wrote:
> This adds a hardcoded slop value (1 day) to the cut-off
> heuristics to work this kind of problem around.
Sounds sensible. (ACK.)
Show 5 quoted lines
> I think the algorithm could be made a bit smarter by deepening the graph 
> on demand as a new commit is asked to be named (this would require 
> rewriting of name_rev() function not to recurse itself but use a 
> traversal list like revision.c traverser does), but that would be a 
> separate issue.

I also wanted to make the decorator (optionally) smarter, to actually do something like name_rev on demand, which would be much faster than (and coloured, in contrast to) `git log | git -p name-rev --stdin`.

Ciao, Dscho

Previous: Junio C Hamano
Message 2 of 2 in “name-rev: tolerate clock skew in committer dates”
  1. name-rev: tolerate clock skew in committer datesJunio C Hamano, May 24, 2007
  2. Johannes SchindelinMay 24, 2007

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.