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

Re: merge into branch currently not active / checked out

From
TGThomas Glanzmann <thomas@glanzmann.de>
Date
Jun 17, 2007, 10:16 UTC
Message-ID
<20070617101635.GK23473@cip.informatik.uni-erlangen.de>
In-Reply-To
<7vmyyzylpl.fsf@assigned-by-dhcp.pobox.com>
Hi Junio,
Show 5 quoted lines
> If you plan to eventually ask somebody who integrates the 'master' to
> pull from you, and keep the resulting development history clean, (1)
> is _NOT_ a good reason to merge 'master' into your topics.  Because
> after your topic finally is finished, when 'master' pulls it, it will
> see many "senseless" merges from itself.

the problem is. Getting a patch into mutt takes several years. At least it took for the hcache. So what I do is keep my patches up2date on top of there HEAD. So I prefer topic branches. And my patches throw _once_ in 4 years a conflict that was not automatically resolved. I used bitkeeper before, now I use git.

> Such "an integration testing" is better done, instead, by forking a
> 'test' (perhaps throw-away) branch from 'master', and merging all your
> topics into it.
I dislike it myself.
> Also, if you do not publish your work-in-progress topics, you
> might want to consider rebasing on top of 'master', instead of
> 'merging'.  Rebase can take the topic branch name and switch
> your current branch for you when you give it, like so:

I don't push my work other than in patches that is, so I am going to give it a try. I always wanted to try rebase, but I never actually did try it.

Thanks,
        Thomas
Previous: Junio C HamanoNext: Karl Hasselström
Message 3 of 5 in “merge into branch currently not active / checked out”
  1. Thomas GlanzmannJun 17, 2007
  2. Junio C HamanoJun 17, 2007
  3. Thomas GlanzmannJun 17, 2007
  4. Karl HasselströmJun 20, 2007
  5. Alex RiesenJun 17, 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.