From: Junio C Hamano Date: Thu, 13 Nov 2008 05:10:26 GMT Subject: Re: Possible bug: "git log" ignores "--encoding=UTF-8" option if --pretty=format:%e%n%s%n is used Message-ID: <7vod0ki531.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20081113043454.GA5048@coredump.intra.peff.net> Jeff King writes: > What about "git rev-list --pretty=raw"? Is that also porcelain? Does it re-encode? I didn't check, but ideally it shouldn't (but I do not care too much either way, to be honest). > 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? I think the fix you outlined was quite reasonable.