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

Re: [BUG] Out of memory on git log --simplify-by-decoration --first-parent

From
Vincent van Ravesteijn <vfr@lyx.org>
Date
Jun 8, 2012, 20:23 UTC
Message-ID
<4FD25F34.1060400@lyx.org>
In-Reply-To
<7vwr3hbm6x.fsf@alter.siamese.dyndns.org>
Op 8-6-2012 22:09, Junio C Hamano schreef:
Show 13 quoted lines
> Vincent van Ravesteijn<vfr@lyx.org>  writes:
>
>> git dies after calling the following command on the git repo:
>>
>> $ git log f623ca1c...b9cfa4e9 --simplify-by-decoration --first-parent
> I wouldn't be surprised anything random happens when --first-parent
> is used together with simplify_merges(); the function needs full
> analysis of all commits in the specified range, and first-parent
> traversal specifically tells us not to descend into other parents.
> It might not be a bad idea to forbid this combination when the
> command line options are parsed.
>
> What information were you trying to get out of the above command?

I was using gitk and I tried to simplify the history a bit, just for visualization,... so I tried by checking "Limit to first parent" and "Simple history". Then, git errored out with an out-of-memory error.

Vincent
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “[BUG] Out of memory on git log --simplify-by-decoration --first-parent”
  1. Vincent van RavesteijnJun 8, 2012
  2. Junio C HamanoJun 8, 2012
  3. Vincent van RavesteijnJun 8, 2012
  4. Junio C HamanoJun 8, 2012

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.