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

Re: [PATCH] git filter-branch: Process commits in --date-order

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Mar 3, 2009, 07:41 UTC
Message-ID
<49ACDF3A.1090309@viscovery.net>
In-Reply-To
<7vbpsjl97d.fsf@gitster.siamese.dyndns.org>
Junio C Hamano schrieb:
Show 6 quoted lines
> I am wondering if it even makes sense to allow users to disable
> topological ordering.
> 
> Doesn't filter-branch have the same "child commits build on top of parent
> commits" dependency as fast-export has?  And didn't you guys fix
> fast-export recently?

Doesn't --date-order have the same guarantee as --topo-order with respect to parents and children, only that commits that can be rearranged such that the guarantee remains are emitted in date order?

Anyway, the patch is unnecessary: If --date-order is needed, it can be passed on the command line; this will override --topo-order.

-- Hannes
Previous: Junio C Hamano
Message 5 of 5 in “git filter-branch: Process commits in --date-order”
  1. git filter-branch: Process commits in --date-orderPeter Rosin, Mar 2, 2009
  2. Johannes SchindelinMar 3, 2009
  3. Peter RosinMar 3, 2009
  4. Junio C HamanoMar 3, 2009
  5. Johannes SixtMar 3, 2009

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.