git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 6 of 6 in “[BUG] git-log shows first parent and repeated last for octopus merge”
  1. Jakub NarebskiOct 18, 2006
  2. Johannes SchindelinOct 18, 2006
  3. Jakub NarebskiOct 18, 2006
  4. When rewriting parents, cull duplicatesJohannes Schindelin, Oct 18, 2006
  5. Junio C HamanoOct 18, 2006
  6. A Large Angry SCMOct 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.