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

Re: Question: next, master and pu branches

From
ALAlexander Litvinov <litvinov2004@gmail.com>
Date
Feb 2, 2007, 06:52 UTC
Message-ID
<200702021252.14076.litvinov2004@gmail.com>
In-Reply-To
<7v8xfhksg0.fsf@assigned-by-dhcp.cox.net>
Show 31 quoted lines
> I think what you are looking for is how my 'maint' and 'master'
> branches are maintained; 'maint' corresponds to your "stable
> release" while 'master' corresponds to your "develment branch".
>
> When a stable release is cut, 'maint' is forked from there.
>
> Truly obvious corrections will be applied on top of the tip of
> 'maint' directly, while if there are any doubt about a proposed
> change I might fork a topic off of the tip of 'maint' and cook
> the fix for a while until I finally merge it to 'maint'.  This
> way, 'maint' will be "bugfix only since the last release".
>
> The tip of 'maint' will be merged into 'master', from time to
> time, to make sure that all fixes will be in 'master'.
>
> When it is time for a new release to be cut, I'd make sure that
> the tip of 'maint' is merged into 'master' (it usually is) and
> then the tip of the 'master' is tagged to be released.  After a
> release is made, I could have two maintenance branches (one that
> continues on top of the old codebase, another that fixes the new
> release).  A fix that can apply to both codebases will be
> applied to the maintenance branch for the old release and then
> its tip can be pulled into the maintenance branch for the new
> release and then its tip can further be merged into the
> development branch.
>
> At some point, the codebases for the older release and the
> current release become diverged enough that merging could become
> inpractical (the same bug may need different fix if the
> infrastracture has become different); you would need to bite the
> bullet and fix it twice (i.e. differently).

Thanks for detailed description. As a cunclusion I would like to say: all bug fixes are made in the stable branch and then stable branch will be merged to development branch. That is easy !

Previous: Junio C Hamano
Message 6 of 6 in “Question: next, master and pu branches”
  1. Alexander LitvinovFeb 2, 2007
  2. Shawn O. PearceFeb 2, 2007
  3. Alexander LitvinovFeb 2, 2007
  4. Shawn O. PearceFeb 2, 2007
  5. Junio C HamanoFeb 2, 2007
  6. Alexander LitvinovFeb 2, 2007

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.