Files
lazygit/pkg/utils
Stefan HallerandClaude Opus 5 43e63bcc24 Return early from WithPadding when there is nothing to pad to
A caller that asks for a padding of zero gets its string back unchanged,
but only after WithPadding has measured it, and measuring means a
Decolorise lookup and a width scan over the result. A later commit pads
four cells of every commit in the list, and asks for a padding of zero
for all four whenever no rebase or bisect is in progress and the date
column is hidden, so make that case cost nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 10:16:04 +02:00
..
2025-05-06 09:43:26 +02:00
…
2023-09-20 08:35:41 +03:00
2025-12-23 16:49:16 +01:00
…
2025-11-15 10:46:23 +01:00
2026-08-08 11:15:01 +02:00
2025-11-15 10:46:23 +01:00