Skip to content

diff: honor wrap-lines for commit titles - #1447

Open
timotheecour wants to merge 1 commit into
jonas:masterfrom
timotheecour:fix/diff-commit-title-wrap
Open

timotheecour wants to merge 1 commit into
jonas:masterfrom
timotheecour:fix/diff-commit-title-wrap

Conversation

@timotheecour

Copy link
Copy Markdown

Summary

  • route commit-title rows through pager_common_read, like surrounding diff metadata
  • preserve the existing commit_title marker on the first rendered row
  • add a display regression for a long commit subject with wrap-lines = true

Fixes #1446.

Tests

  • make test — 572 assertions in 153 tests passed (1 skipped)

Route the specially marked commit-title row through the common pager reader
so it follows the same wrap-lines behavior as the surrounding diff metadata.
Add a focused display regression for a long subject.

Fixes jonas#1446.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wrap-lines does not wrap the commit subject in the diff view

1 participant