From: A Large Angry SCM Date: Wed, 18 Oct 2006 16:35:32 GMT Subject: Re: [BUG] git-log shows first parent and repeated last for octopus merge Message-ID: <453657D4.70502@gmail.com> In-Reply-To: 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