git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Sep 2022, #04; Thu, 15)

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 19, 2022, 01:25 UTC
Message-ID
<xmqq4jx4dukh.fsf@gitster.g>
In-Reply-To
<20220918172659.mjkvdpryr3iaitys@tb-raspi4>
Torsten Bögershausen <tboegi@web.de> writes:
Show 13 quoted lines
>> * tb/diffstat-with-utf8-strwidth (2022-09-14) 1 commit
>>  - diff.c: use utf8_strwidth() to count display width
>>
>>  "git diff --stat" etc. were invented back when everything was ASCII
>>  and strlen() was a way to measure the display width of a string;
>>  adjust them to compute the display width assuming UTF-8 pathnames.
>>
>>  Expecting a reroll.
>>  source: <20220914151333.3309-1-tboegi@web.de>
>>
>
> Just a question:
> Is the patch good "as is" ?
I thought I spotted and pointed out a few remaining bugs?
> Further developments need to go into different patches anyway.
> /Torsten

But these two bugs affect how the width of the lines is computed, the computation for same number the patch tries to fix, so leaving them broken would not make the end result any better than status quo, no?

Previous: Torsten Bögershausen
Message 3 of 3 in “What's cooking in git.git (Sep 2022, #04; Thu, 15)”
  1. Junio C HamanoSep 16, 2022
  2. Torsten BögershausenSep 18, 2022
  3. Junio C HamanoSep 19, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.