Re: [BUG] git-log shows first parent and repeated last for octopus merge
- From
A Large Angry SCM <gitzilla@gmail.com>
- Date
- Oct 18, 2006, 16:35 UTC
- Message-ID
- <453657D4.70502@gmail.com>
- In-Reply-To
- <eh5242$rar$1@sea.gmane.org>
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