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

Re: Removal of "--merge-order"?

From
RRandy.Dunlap <rdunlap@xenotime.net>
Date
Feb 24, 2006, 16:53 UTC
Message-ID
<Pine.LNX.4.58.0602240840520.7894@shark.he.net>
In-Reply-To
<Pine.LNX.4.64.0602240824110.3771@g5.osdl.org>
On Fri, 24 Feb 2006, Linus Torvalds wrote:
Show 10 quoted lines
>
> I just tested it again, and
>
> 	git-rev-list --merge-order HEAD
>
> takes an inordinate amount of time:
>
> 	real    5m1.139s
> 	user    4m59.504s
> 	sys     0m1.220s
That's too bad.
Show 19 quoted lines
> and that's on a reasonably fast machine (not my fastest, but no slouch by
> any measure - my fastest machine I'm not allowed to really benchmark
> publicly ;)
>
> It may be a cool algorithm, but it's essentially useless on any bigger
> tree. And nobody uses it, since "--topo-order" gives the guarantees that
> people really care about, and finishes in 0.537 seconds on the same
> machine with the same tree.
>
> It also depends on the openssh "bignum" stuff, which means that any
> machine where we just rely on our own SHA1 implementation and don't use
> openssh doesn't have the flag anyway.
>
> In other words, I'd really prefer if it was gone. Some of the things I
> might do to git-rev-list would be much simpler if I didn't have to worry
> about merge-order, and the way it interfaces with the rest of
> git-rev-list.
>
> Comments?

I'm just a lowly user, but I see people trying to export git trees to other SCMs, and they seem to prefer merge-order. This is your chance to correct me about: (a) how I am wrong; (b) how they are wrong. 8;)

I've heard/seen you say that merge-order is not interesting, but I still believe that *your* merge order of the Linux kernel tree is almost all that people really care about. Apparently I needed to go to LCA to hear you discuss git.

-- 
~Randy
Previous: Linus TorvaldsNext: Linus Torvalds
Message 2 of 9 in “Removal of "--merge-order"?”
  1. Linus TorvaldsFeb 24, 2006
  2. Randy.DunlapFeb 24, 2006
  3. Linus TorvaldsFeb 24, 2006
  4. Ryan AndersonFeb 24, 2006
  5. Randy.DunlapFeb 24, 2006
  6. Linus TorvaldsFeb 24, 2006
  7. Randy.DunlapFeb 24, 2006
  8. Johannes SchindelinFeb 24, 2006
  9. Junio C HamanoFeb 24, 2006

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.