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

git-rev-list --merge-order bug?

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Jun 29, 2005, 19:14 UTC
Message-ID
<42C2F30A.7030102@gmail.com>

I've noticed that git-rev-list will sometimes return a different *number* of commit objects depending on whether the "--merge-order" switch was used.

For example:

Get a copy of Linus' git git repository from rsync.kernel.org and try the following:

git-rev-list ee28152d03f2cf4b5e3ebc25f7f03f9654d3aa0d \
	^aa03413467a2f2ada900817dc2a8e3904549b5fe |wc -l
git-rev-list ee28152d03f2cf4b5e3ebc25f7f03f9654d3aa0d \
	^aa03413467a2f2ada900817dc2a8e3904549b5fe --merge-order |wc -l
The first git-rev-list returns 4 commits and the second returns 304.

Those commits are dated 2005-05-03 and 2005-05-02. If you use gitk, search for ``builtin'' which will jump to the merge base of the 2 branches.

Next: Jon Seymour
Message 1 of 2 in “git-rev-list --merge-order bug?”
  1. A Large Angry SCMJun 29, 2005
  2. Jon SeymourJun 29, 2005

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.