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

Re: Possible BUG in 'git log --parents'

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jul 8, 2007, 10:33 UTC
Message-ID
<e5bfff550707080333k6a225c6p74a7b0042e5739c8@mail.gmail.com>
In-Reply-To
<e5bfff550707080232q3e27581t45c0e4c5a1ea3b0f@mail.gmail.com>
On 7/8/07, Marco Costalba <mcostalba@gmail.com> wrote:
Show 6 quoted lines
> On 7/8/07, Junio C Hamano <gitster@pobox.com> wrote:
> > Match "log --parent" output to "rev-list --parent" output.
> >
>
> Thanks. It works for me.
>
Sorry, I have to correct, it does *not* work for me.
Please apply your patch and give a look at:
git log --parents -n1 addafaf92e -r -m -- diff.h

What seems to happen is that duplicated entries are not removed by diff machinery.

Although duplicated parents are correctly removed from parent list as in git-rev-list, probably we should consider that git-log has also the diff machinery attached.

Marco
P.S: Hope this little issue does not make you revert the patch ;-)
Previous: Marco Costalba
Message 7 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.