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

Re: Difference between --date-order and reverse chronological order?

From
Johannes Sixt <j6t@kdbg.org>
Date
Apr 27, 2011, 19:39 UTC
Message-ID
<4DB87106.9030209@kdbg.org>
In-Reply-To
<7v7haf8ulj.fsf@alter.siamese.dyndns.org>
Am 27.04.2011 19:36, schrieb Junio C Hamano:
Show 8 quoted lines
> Dun Peal <dunpealer@gmail.com> writes:
> 
>> But by Git's definition, for a child commit to be created, its parent
>> must already exist. So even in reverse chronological order, all
>> parents should come after all their children, no?
> 
> I think "distributed" and "your clock may be skewed" would solve that
> puzzlement ;-)
Are you saying that given this history:
      E----D
    /     /
   A--B--C
* we can get D-C-B-E-A or D-E-C-B-A with --topo-order
* we can get the above plus D-C-E-B-A with --date-order
* and with neither --topo-order nor --date-order we can also get
D-E-A-C-B or D-C-B-A-E if there was sufficient clock skew when the
commits were created. How would such a clock skew have looked like?
-- Hannes
Previous: Junio C Hamano
Message 3 of 3 in “Difference between --date-order and reverse chronological order?”
  1. Dun PealApr 27, 2011
  2. Junio C HamanoApr 27, 2011
  3. Johannes SixtApr 27, 2011

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.