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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:01

Vincent van Ravesteijn [off-list ref] 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?

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

From: Vincent van Ravesteijn <hidden>
Date: 2016-06-15 22:54:01

Op 8-6-2012 22:09, Junio C Hamano schreef:
Vincent van Ravesteijn[off-list ref]  writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help