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

Re: cogito - how do I ???

From
Linus Torvalds <torvalds@osdl.org>
Date
May 24, 2005, 03:05 UTC
Message-ID
<Pine.LNX.4.58.0505232000400.2307@ppc970.osdl.org>
In-Reply-To
<E1DaP7k-0007ar-00@gondolin.me.apana.org.au>
On Tue, 24 May 2005, Herbert Xu wrote:
Show 7 quoted lines
> 
> Yes please.  Can we also have a rev-* command that outputs parent
> relations instead of a simple list? That is,
> 
> <tree-1> <parent-1>
> <tree-1> <parent-2>
> <tree-2> <parent-3>
That's not <tree-n>, it's <commit-n>.

I think that would be "git-rev-list --parents" or something - that wouldn't impact any existing users.

Patches welcome.

As to git-rev-tree, that's likely used by scripts in various places (cogito, gitk, gitweb etc), so changing that is nastier, but at least the output could be _sorted_ better.

Of course, I really think that the bigger problem with git-rev-tree currently is that global reachability analysis, which is just not acceptable performance-wise.

		Linus
Previous: Herbert XuNext: Frank Sorenson
Message 12 of 13 in “cogito - how do I ???”
  1. Sam RavnborgMay 21, 2005
  2. SeanMay 21, 2005
  3. Linus TorvaldsMay 21, 2005
  4. Sam RavnborgMay 22, 2005
  5. Linus TorvaldsMay 22, 2005
  6. Thomas GlanzmannMay 23, 2005
  7. Junio C HamanoMay 23, 2005
  8. Thomas GlanzmannMay 23, 2005
  9. Linus TorvaldsMay 23, 2005
  10. Junio C HamanoMay 23, 2005
  11. Herbert XuMay 24, 2005
  12. Linus TorvaldsMay 24, 2005
  13. Frank SorensonMay 22, 2005

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.