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

Re: [RFC] [PATCH 0/5] Implement 'prior' commit object links (and

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 29, 2006, 18:27 UTC
Message-ID
<e30b48$ovk$1@sea.gmane.org>
In-Reply-To
<20060429165151.2570.qmail@science.horizon.com>
On Sat, 29 Apr 2006, linux@horizon.com wrote:
Show 8 quoted lines
> 
> Well, the only reason that you need ANY commit in the repository is
> because it's part of history, and comparing it with other versions is
> meaningful.  So what trees, not already in the ancestry graph of a
> given commit, are useful to compare to?  In particular, useful for some
> automated process; manual comparisons can always be done manually.
> 
> Nothing's jumping out at me.  Any suggestions?
See below.

Not necessary all those require connectivity. Most of them are not my ideas.

 * "prior" - heads that represent topic branch merges
    This is the "pu" branch case, where the head is a merge of several
    topic branches that is continually moved forward.
    topic branches     head
      ,___.   ,___.
     | TA1 | | TB1 |
      `---'   `---'    ,__.
         ^\_____^\____| H1 |
                       `--'
    + some topic branch changes and a republish:
      ,___.   ,___.
     | TA1 | | TB1 |
      `---'   `---'^   ,__.
        |^\_____^\____| H1 |
        |       |      `--'
      ,_|_.   ,_|_.      P
     | TA2 | | TB2 |     |
      `---'   `---'^     |
        ^       ^        |
      ,_|_.     |        |
     | TA3 |    |        |
      `---'     |      ,__.
         ^\______\____| H2 |
                       `--'
    key:  ^ = parent   P = prior
 * "bind" - for subprojects
   bind links from master project commit to externally managed embedded
   third-party project, for example Linux kernel for some mainly userspace
   project, or library or engine for some application. Additionally it
   provides root dir where to attach subproject.
 
 * "original" for rebase
   before rebase:
             A---B---C topic
            /
           /
          /
     D---E---F---G master
   after rebase
              ------A---B---C
             /      ^   ^   ^ 
            /       :   :   :
           /        A'--B'--C' topic
          /       /
     D---E---F---G master
   where ':' denotes "original" link. Note that old branch is not pointed by
   any head, and would be pruned without connectivity
 * "original" or "cherrypick" for cherry-picking
            A--------B---C bugfix
           /         ^
          /          :
     D---E---F---G---B'---H main
 * "revert" for reverting commits
-- 
Jakub Narebski
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 16 in “Re: [RFC] [PATCH 0/5] Implement 'prior' commit object links (and”
  1. linux@horizon.comApr 29, 2006
  2. Linus TorvaldsApr 29, 2006
  3. Jakub NarebskiApr 29, 2006
  4. Junio C HamanoApr 29, 2006
  5. Jakub NarebskiApr 29, 2006
  6. Junio C HamanoApr 29, 2006
  7. Jakub NarebskiApr 29, 2006
  8. Jakub NarebskiApr 30, 2006
  9. Junio C HamanoApr 30, 2006
  10. Junio C HamanoMay 1, 2006
  11. Sam VilainMay 1, 2006
  12. Jakub NarebskiMay 1, 2006
  13. Junio C HamanoMay 1, 2006
  14. Sam VilainMay 2, 2006
  15. Martin LanghoffMay 2, 2006
  16. Sam VilainMay 1, 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.