From: Vincent van Ravesteijn <vfr@lyx.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [BUG] Out of memory on git log --simplify-by-decoration --first-parent
Date: Fri, 08 Jun 2012 22:23:16 +0200 [thread overview]
Message-ID: <4FD25F34.1060400@lyx.org> (raw)
In-Reply-To: <7vwr3hbm6x.fsf@alter.siamese.dyndns.org>
Op 8-6-2012 22:09, Junio C Hamano schreef:
> 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
next prev parent reply other threads:[~2012-06-08 20:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 18:23 [BUG] Out of memory on git log --simplify-by-decoration --first-parent Vincent van Ravesteijn
2012-06-08 20:09 ` Junio C Hamano
2012-06-08 20:23 ` Vincent van Ravesteijn [this message]
2012-06-08 22:01 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FD25F34.1060400@lyx.org \
--to=vfr@lyx.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.