Thread (11 messages) 11 messages, 4 authors, 2025-11-15

Re: [PATCH 2/2] builtin/repo: fix table alignment for UTF-8 characters

From: Jiang Xin <hidden>
Date: 2025-11-15 12:42:01

On Sat, Nov 15, 2025 at 1:50 AM Justin Tobler [off-list ref] wrote:
Ok, using strbuf_utf8_align() compensates the line width when using
multi-byte UTF-8 characters to ensure the correct length. Looks good.
quoted
+     strbuf_reset(&buf);
Do we need to reset the buffer here? In the following loop we reset it
at the start of each iteration.
Will remove this line in next reroll.

--
Jiang Xin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help