Re: q: faster way to integrate/merge lots of topic branches?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: <git@...>
Date: Wednesday, July 23, 2008 - 10:06 am

On 2008.07.23 15:05:18 +0200, Ingo Molnar wrote:

Not yet in any release (AFAICT), but with git.git master, you could use:

for B in $(git branch --no-merged); do git-merge $B; done


Or with earlier versions, this should work, but it's a lot slower:

for B in $(git branch | cut -c3- ); do
	[[ -n "$(git rev-list -1 HEAD..$B)" ]] && git merge $B;
done

Björn
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: q: faster way to integrate/merge lots of topic branches?, Pierre Habouzit, (Wed Jul 23, 3:09 pm)
Re: q: faster way to integrate/merge lots of topic branches?, Pierre Habouzit, (Wed Jul 23, 4:27 pm)
Re: q: faster way to integrate/merge lots of topic branches?, Pierre Habouzit, (Wed Jul 23, 4:40 pm)
Re: q: faster way to integrate/merge lots of topic branches?, Björn, (Wed Jul 23, 10:06 am)
Re: q: faster way to integrate/merge lots of topic branches?, Andreas Ericsson, (Wed Jul 23, 9:40 am)