Re: Possible regression in git-rev-list --header
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 31, 2006, 01:13 UTC
- Message-ID
- <Pine.LNX.4.63.0612310211300.25709@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vlkkphvrb.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sat, 30 Dec 2006, Junio C Hamano wrote:
> Another thing. I think it would make sense to remove "encoding" header > after pretty_print_commit successfully re-codes the buffer. An > alternative is to rewrite "encoding" header to show which encoding the > log now uses (and omit it if it is UTF-8).
I think it would be wrong. Sure, the output may be encoded differently, but the _original_ commit was not. And this is the information I want to see when I look at the raw commit.
If you do not want to see all headers, you have to choose a different --pretty option.
Ciao, Dscho