From: Dmitry Potapov <dpotapov@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Santi Bejar <santi@agolina.net>, git@vger.kernel.org
Subject: Re: Gitk and --no-walk don't play together
Date: Mon, 8 Sep 2008 23:07:04 +0400 [thread overview]
Message-ID: <20080908190704.GA28210@dpotapov.dyndns.org> (raw)
In-Reply-To: <alpine.LNX.1.10.0809081310260.1621@fbirervta.pbzchgretzou.qr>
On Mon, Sep 08, 2008 at 01:25:12PM -0400, Jan Engelhardt wrote:
> rev-list completes without any problems. I straced gitk, and see:
>
> git log --no-color -z --pretty=raw --topo-order
> --parents --boundary --no-walk v2.6.25 v2.6.26
git log crashed when it tried to print the boundary commit.
It seems the bug exists in all 1.5.4.x and was fixed in 1.5.5.
The commit that fixed the bug is 3131b71 when --show-all was added
to revision log. The lines that fixed this bug are the following:
> diff --git a/log-tree.c b/log-tree.c
> index 1f3fcf1..e9ba6df 100644
> --- a/log-tree.c
> +++ b/log-tree.c
> @@ -278,6 +282,9 @@ void show_log(struct rev_info *opt, const char *sep)
> }
> }
>
> + if (!commit->buffer)
> + return;
> +
> /*
> * And then the pretty-printed message itself
> */
Dmitry
next prev parent reply other threads:[~2008-09-08 19:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 16:25 Gitk and --no-walk don't play together Jan Engelhardt
2008-09-08 16:34 ` Santi Bejar
2008-09-08 17:25 ` Jan Engelhardt
2008-09-08 18:53 ` Santi Bejar
2008-09-08 19:07 ` Dmitry Potapov [this message]
2008-09-08 19:19 ` 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=20080908190704.GA28210@dpotapov.dyndns.org \
--to=dpotapov@gmail.com \
--cc=git@vger.kernel.org \
--cc=jengelh@medozas.de \
--cc=santi@agolina.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).