From: Ingo Molnar Date: Wed, 23 Jul 2008 14:04:42 GMT Subject: Re: q: faster way to integrate/merge lots of topic branches? Message-ID: <20080723140441.GA9537@elte.hu> In-Reply-To: <20080723135621.GJ22606@neumann> * SZEDER Gábor wrote: > Hi, > > On Wed, Jul 23, 2008 at 03:05:18PM +0200, Ingo Molnar wrote: > > I've got the following, possibly stupid question: is there a way to > > merge a healthy number of topic branches into the master branch in a > > quicker way, when most of the branches are already merged up? > > > > Right now i've got something like this scripted up: > > > > for B in $(git-branch | cut -c3- ); do git-merge $B; done > you cound use 'git branch --no-merged' to list only those branches > that have not been merged into your current HEAD. hm, it's very slow: $ time git branch --no-merged [...] real 0m9.177s user 0m9.027s sys 0m0.129s when running it on tip/master: http://people.redhat.com/mingo/tip.git/README Ingo