You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a narrow terminal (<= 48 chars), --commit-style box results in:
> git show
thread 'main' panicked at 'attempt to subtract with overflow', src/draw.rs:39:35
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Because line_width <= box_width, so line_width - box_width - 1 would be negative.
Or a more practical scenario: even with a reasonably wide terminal, very long filenames cause the same issue under --file-style box.
The text was updated successfully, but these errors were encountered:
With a narrow terminal (<= 48 chars),
--commit-style box
results in:Because
line_width <= box_width
, soline_width - box_width - 1
would be negative.Or a more practical scenario: even with a reasonably wide terminal, very long filenames cause the same issue under
--file-style box
.The text was updated successfully, but these errors were encountered: