From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: Constantine Plotnikov <constantine.plotnikov@gmail.com>,
git@vger.kernel.org
Subject: Re: Possible bug: "git log" ignores "--encoding=UTF-8" option if --pretty=format:%e%n%s%n is used
Date: Wed, 12 Nov 2008 23:34:55 -0500 [thread overview]
Message-ID: <20081113043454.GA5048@coredump.intra.peff.net> (raw)
In-Reply-To: <7vvdusjtg8.fsf@gitster.siamese.dyndns.org>
On Wed, Nov 12, 2008 at 05:38:47PM -0800, Junio C Hamano wrote:
> > BTW for some reason --pretty=raw is affected by encoding option on the
> > command line.
>
> Unfortunately, that is what you get for reading from a Porcelain output,
> which is meant for, and are subject to improvement for, human consumption.
>
> If you want bit-for-bit information, you can always ask "git cat-file".
What about "git rev-list --pretty=raw"? Is that also porcelain?
I would be curious to hear your take on our failure to respect
--encoding for --pretty=format. Is it a bug to be fixed, or a historical
behavior to be maintained?
-Peff
next prev parent reply other threads:[~2008-11-13 4:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-11 19:12 Possible bug: "git log" ignores "--encoding=UTF-8" option if --pretty=format:%e%n%s%n is used Constantine Plotnikov
2008-11-12 10:43 ` Jeff King
[not found] ` <85647ef50811120311q7bc5451x7c084fd2a7864177@mail.gmail.com>
2008-11-12 11:26 ` Jeff King
2008-11-12 13:08 ` Constantine Plotnikov
2008-11-13 1:38 ` Junio C Hamano
2008-11-13 4:34 ` Jeff King [this message]
2008-11-13 5:10 ` Junio C Hamano
2008-11-13 5:48 ` Jeff King
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=20081113043454.GA5048@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=constantine.plotnikov@gmail.com \
--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 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).