From: Michael J Gruber <git@drmicha.warpmail.net>
To: Eli Barzilay <eli@barzilay.org>
Cc: git@vger.kernel.org
Subject: Re: git rev-list formatting
Date: Tue, 23 Mar 2010 11:52:56 +0100 [thread overview]
Message-ID: <4BA89D88.7080803@drmicha.warpmail.net> (raw)
In-Reply-To: <m31vfbpzol.fsf@winooski.ccs.neu.edu>
Eli Barzilay venit, vidit, dixit 23.03.2010 02:57:
> René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
>
>> Am 22.03.2010 12:30, schrieb Eli Barzilay:
>>> Possible bug -- IIUC, this:
>>>
>>> git rev-list --pretty="%w(40,2,2)%b" $rev
>>>
>>> should show all bodies wrapped as specified, but with 1.7.0.3 I see
>>> only the first one wrapped, and the rest don't show up. In one of my
>>> attempts to sort this, I saw all bodies, but all bodies after the
>>> first were not wrapped as specified.
>>
>> I can't reproduce this when running this command against git's own
>> repo. Or perhaps I just fail to see it. Is the one you're trying
>> this on public? Does it work as expected with some other version of
>> git?
>
> Sorry, I've lost track of all the different things I tried, but here's
> something that I can reproduce reliably now, which seems to be a
> similar problem (or at least nothing in the man page explain why it
> would do what it does). If this is helpful, I'll tar up the
> repository and put it up somewhere. This is all running in the repo
> -- and it case it matters, it's a bare repo, created with 1.7.0.
I'd say that certainly matters (can't reproduce this one on non-bare
either).
When you say "in the repo", do you mean that you're current directory is
within yourbarerepo.git? Do you have GIT_DIR set explicitly?
> $ git rev-list --pretty="%b" foo
>
> shows one "commit <sha1>" line, then the body, and then the rest of
> the commits (13 of them) with no body at all (just the "commit <sha1>"
> lines).
[snip]
Michael
next prev parent reply other threads:[~2010-03-23 10:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-22 11:30 git rev-list formatting Eli Barzilay
2010-03-22 11:39 ` Eli Barzilay
2010-03-22 13:08 ` Michael J Gruber
2010-03-22 13:36 ` [PATCH] rev-list: heed --abbrev-commit option Michael J Gruber
2010-03-26 19:32 ` Junio C Hamano
2010-03-27 13:30 ` Michael J Gruber
2010-03-22 14:42 ` git rev-list formatting Eli Barzilay
2010-03-22 17:22 ` René Scharfe
2010-03-23 1:57 ` Eli Barzilay
2010-03-23 10:52 ` Michael J Gruber [this message]
2010-03-23 11:06 ` Eli Barzilay
2010-03-23 12:26 ` Jeff King
2010-03-23 12:40 ` Erik Faye-Lund
2010-03-23 12:59 ` Eli Barzilay
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=4BA89D88.7080803@drmicha.warpmail.net \
--to=git@drmicha.warpmail.net \
--cc=eli@barzilay.org \
--cc=git@vger.kernel.org \
/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.