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

Re: "Branch objects" (was: Re: cherry picking and merge)

From
NWNico Williams <nico@cryptonector.com>
Date
Aug 7, 2014, 22:59 UTC
Message-ID
<CAK3OfOgg3fwQ2KZyG-V6-gHaWknZN_Y9KxQWwRZGcUOo7yjg5w@mail.gmail.com>
In-Reply-To
<alpine.LSU.2.00.1408071222510.13901@hermes-1.csi.cam.ac.uk>
On Thu, Aug 7, 2014 at 6:38 AM, Tony Finch <dot@dotat.at> wrote:
Show 7 quoted lines
> So I have a small tool which maintains a publication branch which tracks
> the head of a rebasing branch. It's reasonably satisfactory so far...
>
> https://git.csx.cam.ac.uk/x/ucs/git/git-repub.git
>
> ... though the structure of the publication branch is weird and not very
> easy to navigate. You can see it in action in my git.git repo:

You know, maybe you could even use this to automatically figure out the merge base for downstreams that follow your rebased branch: auto-generate the git rebase --onto <head> <head as it was prior to all the upstream rebases>.

That would be awesome, particularly if integrated into git. It would then be fine to rebase published branches in most cases, for example.

Nico
Previous: Nico Williams
Message 9 of 9 in “"Branch objects" (was: Re: cherry picking and merge)”
  1. Jakub NarębskiAug 6, 2014
  2. Nico WilliamsAug 6, 2014
  3. Tony FinchAug 7, 2014
  4. Nico WilliamsAug 7, 2014
  5. Tony FinchAug 7, 2014
  6. Nico WilliamsAug 7, 2014
  7. Tony FinchAug 7, 2014
  8. Nico WilliamsAug 7, 2014
  9. Nico WilliamsAug 7, 2014

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.