Subject: Re: [BUG] git-log shows first parent and repeated last for octopus merge

From: A Large Angry SCM <[email-masked]>
Date: Wed, 18 Oct 2006 09:35:32 -0700

Jakub Narebski wrote:
> When trying to find how many merges and how many octopus merges (merges with
> more than two parents) are in git.git repository I have encountered the
> following strange output of git-log:

Maybe the following will find what you're looking for:

git-rev-list master --parents \
	|sed -e 's/[0-9a-f]\{40\}//' -e 's/ [0-9a-f]\{40\}/*/g' \
	|sort \
	|uniq -c