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

Re: kernel.org now has gitweb installed

From
David Woodhouse <dwmw2@infradead.org>
Date
Apr 28, 2005, 08:29 UTC
Message-ID
<1114676955.12012.346.camel@baythorne.infradead.org>
In-Reply-To
<20050428081005.GG8612@pasky.ji.cz>
On Thu, 2005-04-28 at 10:10 +0200, Petr Baudis wrote:
Show 14 quoted lines
>   Linus                     ASM (Anonymous Subsystem Maintainer)
> 
>     |------------------------.
>    A|                        |B
>     |                        |
>     |                        \-------------\
>     |                        :             |
>     \------------------------\             |E
>    C|                        |D            |
>     |                        /-------------/
>     |                        |F
>     /------------------------/
> 
> How would you show that? F E D C B A? F D C A E B?

Let us assume that C and A were already in Linus' tree (and on our web page) yesterday. Thus, they should be last. The newly-pulled stuff should be first -- FEDBCA.

I'd say "depth-first, remote parent first" but that would actually show show 'A' (as a parent of D) long before it shows C. Walking of remote parents should stop as soon as we hit a commit which was accessible through a more local parent, rather than as soon as we hit a commit which we've already printed. Maybe it should be something like depth- first, local parent first, but _reversed_?

The latter is what the mailing list feeder does, but that has the advantage of being about to use 'rev-tree $today ^$yesterday' so we _know_ we're excluding the ones people have already seen. Hence I haven't really paid that much attention to getting the order strictly correct.

(Yes, I know that strictly speaking, git has no concept of 'remote' or 'local' parents. But the ordering of the two parents in a Cogito merge or pull hasn't changed, has it?)

-- 
dwmw2
Previous: Petr BaudisNext: David Woodhouse
Message 5 of 23 in “kernel.org now has gitweb installed”
  1. H. Peter AnvinApr 28, 2005
  2. Daniel JacobowitzApr 28, 2005
  3. David WoodhouseApr 28, 2005
  4. Petr BaudisApr 28, 2005
  5. David WoodhouseApr 28, 2005
  6. David WoodhouseApr 28, 2005
  7. Linus TorvaldsApr 28, 2005
  8. David WoodhouseApr 28, 2005
  9. Linus TorvaldsApr 28, 2005
  10. David WoodhouseApr 28, 2005
  11. H. Peter AnvinApr 28, 2005
  12. H. Peter AnvinApr 28, 2005
  13. Linus TorvaldsApr 28, 2005
  14. David WoodhouseApr 28, 2005
  15. Jan HarkesApr 29, 2005
  16. Junio C HamanoApr 28, 2005
  17. David WoodhouseApr 28, 2005
  18. Junio C HamanoApr 28, 2005
  19. Linus TorvaldsApr 28, 2005
  20. Gerhard SchrenkApr 28, 2005
  21. David WoodhouseApr 28, 2005
  22. Junio C HamanoApr 28, 2005
  23. Linus TorvaldsApr 28, 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.