Re: git log --encoding=HTML is not supported
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 27, 2021, 15:59 UTC
- Message-ID
- <xmqqk0k6c1zn.fsf@gitster.g>
- In-Reply-To
- <3883941.fE8Og5qy2N@localhost.localdomain>
Krzysztof Żelechowski <giecrilj@stegny.2a.pl> writes:
Show 8 quoted lines
> Dnia czwartek, 26 sierpnia 2021 17:37:40 CEST Junio C Hamano pisze:
>> git log --html \
>> --format='<tr><td>%h</td><td>%s</td>...</tr>'
>
> I would like to be able to say:
> { git config i18n.logOutputEscape HTML; }
>
> What do you think?It depends on what it does.
If the configuration means that "git log" output (with any supported options, like "-p") will be given with '<' written to '^lt;' etc. so that it becomes safe to dump it in HTML, it fails to interest me at all.