mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 14:06:32 -04:00
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>