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

Possible BUG in 'git log --parents'

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jul 7, 2007, 09:49 UTC
Message-ID
<e5bfff550707070249i6f3f7288uce1f922686f6e14d@mail.gmail.com>

git-rev-list shows parents correctly, git-log no, in particulary there is parent 913419f that is shown 3 times instead of 1. Testing on git repository.

$ git --version git version 1.5.3.rc0.11.ge2b1a

$ git-rev-list --parents --header addafaf92e -n1 -- diff.h addafaf92eeb86033da91323d0d3ad7a496dae83 913419fcc648dd43d7f7afdd94fa25aee4f9798a ea726d02e9677a66586d7ffebe97f112ab6dab33 46a6c2620ba421397eec627b8eb18eb530e694fc tree e3be15f54f01e3aa1f8ec830ac87da5f85a23480 parent 6b94f1e404afc552e5139c4357331843f5be61ad parent 93b74bca86f59b8df410b6fd4803b88ee0f304bf parent ea726d02e9677a66586d7ffebe97f112ab6dab33 parent b33aba518456bee97bde1fef4fe17ab6bf401bbe parent 6b1ddbdd6e02719ae2be55dc141a176187e5027e author Junio C Hamano <junkio@cox.net> 1138436169 -0800 committer Junio C Hamano <junkio@cox.net> 1138436169 -0800

    Merge lt/revlist,jc/diff,jc/revparse,jc/abbrev

$ git-log --parents --pretty=raw addafaf92e -n1 -- diff.h commit addafaf92eeb86033da91323d0d3ad7a496dae83 913419fcc648dd43d7f7afdd94fa25aee4f9798a 913419fcc648dd43d7f7a fdd94fa25aee4f9798a ea726d02e9677a66586d7ffebe97f112ab6dab33 913419fcc648dd43d7f7afdd94fa25aee4f9798a 46a6c262 0ba421397eec627b8eb18eb530e694fc tree e3be15f54f01e3aa1f8ec830ac87da5f85a23480 parent 6b94f1e404afc552e5139c4357331843f5be61ad parent 93b74bca86f59b8df410b6fd4803b88ee0f304bf parent ea726d02e9677a66586d7ffebe97f112ab6dab33 parent b33aba518456bee97bde1fef4fe17ab6bf401bbe parent 6b1ddbdd6e02719ae2be55dc141a176187e5027e author Junio C Hamano <junkio@cox.net> 1138436169 -0800 committer Junio C Hamano <junkio@cox.net> 1138436169 -0800

    Merge lt/revlist,jc/diff,jc/revparse,jc/abbrev
Next: Junio C Hamano
Message 1 of 7 in “Possible BUG in 'git log --parents'”
  1. Marco CostalbaJul 7, 2007
  2. Junio C HamanoJul 7, 2007
  3. Marco CostalbaJul 7, 2007
  4. Marco CostalbaJul 7, 2007
  5. Junio C HamanoJul 8, 2007
  6. Marco CostalbaJul 8, 2007
  7. Marco CostalbaJul 8, 2007

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.