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

Re: [ANNOUNCE] git reintegrate v0.3; manager of integration branches

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 20, 2014, 21:41 UTC
Message-ID
<537bcbf7efd4_1d08f2d2f8a7@nysa.notmuch>
In-Reply-To
<xmqqtx8krvem.fsf@gitster.dls.corp.google.com>
Junio C Hamano wrote:
Show 26 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
> 
> > Or have an option to specify a dynamic instruction sheet, so you can cat
> > the instructions of 'match-next' and replace the base. However, I don't
> > see the point of re-applying the branches for 'next' if you already know
> > that 'next' and 'match-next' are the same.
> 
> The output from Reintegrate script (in 'todo') only lists the names
> of topic branches (or something like "xx/topic~4" when the topic is
> not fully merged yet), and a topic branch may acquire a follow-up
> change (or two) on top (there is a machinery to see if xx/topic~4
> is still valid in such a case and update the offset as needed).
> 
> Rebuilding 'jch' on top of 'master' with the same insn sheet will
> then merge the updated topic branch in its entirety, and the new
> commits on the topic branch somehow needs to go to 'next' for the
> "match next" on 'jch' and 'next' to be in sync (in addition, updated
> 'master' must be merged to 'next', but that goes without saying).
> 
> In other words, I already know that 'next' and "match next" are not
> the same, that they must become the same, and there needs a way to
> make them so.
> 
> And that is done by re-running the insn sheet for 'jch' up to the
> "match next" mark, merging the topic that are not fully merged to
> 'next' while ignoring the ones that already are fully in 'next'.

There could be a new --merge-missing option that takes the instruction sheet of an integration branch (e.g. 'match-next'), ignores the 'base' applies them in 'HEAD' but only when the topic branch isn't already in 'HEAD'.

I'm not sure what would be the usefulness of using things like 'xx/topic~4'.

-- 
Felipe Contreras
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 9 in “[ANNOUNCE] git reintegrate v0.3; manager of integration branches”
  1. Felipe ContrerasMay 19, 2014
  2. Junio C HamanoMay 19, 2014
  3. Felipe ContrerasMay 20, 2014
  4. Junio C HamanoMay 20, 2014
  5. Felipe ContrerasMay 20, 2014
  6. Junio C HamanoMay 20, 2014
  7. Felipe ContrerasMay 20, 2014
  8. Felipe ContrerasMay 24, 2014
  9. Felipe ContrerasMay 24, 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.