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

Re: Handling multiple parallel versions.

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 21, 2010, 16:59 UTC
Message-ID
<20100721165952.GA14144@burratino>
In-Reply-To
<4C471223.9050303@ianhobson.co.uk>
Hi Ian,
Ian Hobson wrote:
Show 16 quoted lines
> O--O--O--O--O--O--O--many more--O--O--O--O--O--O--O--O  Master
> | \
> |  O--O--O--O--O--O--O--many more--O--O--O--O--O--O--O--O London
> |
> | \ O--O--O--O--O--O--O--many more--O--O--O--O--O--O--O--O Birmingham
> |
> | \ O--O--O--O--O--O--O--many more--O--O--O--O--O--O--O--O Glasgow
> |
> | \ O--O--O--O--O--O--O--many more--O--O--O--O--O--O--O--O Sheffield
> |
>  \ O--O--O--O--O--O--O--many more--O--O--O--O--O--O--O--O Cardiff
> 
> All the rebase master's are taking an age (and involve many
> conflicts). They are taking linger than the development.
> 
> So this solution is NOT working for maintaining parallel versions.

I like the train track guide. My suggestion would be to take a step back and consider what your requirements are.

‘git rebase’ was designed to support a workflow in which individuals are responsible for short patch series (up to 10 patches, say) that have not been reviewed and accepted yet. To save reviewers the trouble of placing themselves in a mindset of the past, the patch submitter occasionally “refreshes” the patches to fit an appropriately modern codebase.

With this comes a downside: if the patch submitter immediately sends the patches after doing this (bad submitter!), they are sending untested code. Furthermore, they make it very hard for /other people/ to develop code on top of their constantly shifting code. So when a patch series grows long enough that a simple read-through would be unfeasible anyway, rebasing can be a very bad idea.

You may also be interested in http://thread.gmane.org/gmane.comp.video.dri.devel/34739/focus=34744

Good luck, Jonathan

Previous: Ian HobsonNext: Jonathan Nieder
Message 2 of 3 in “Handling multiple parallel versions.”
  1. Ian HobsonJul 21, 2010
  2. Jonathan NiederJul 21, 2010
  3. Jonathan NiederJul 21, 2010

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.