Skip to content

Fix | Show helpful message when --max-diff-length is too small to display diff#393

Merged
dag-andersen merged 1 commit intomainfrom
fix/max-diff-length-message
Apr 6, 2026
Merged

Fix | Show helpful message when --max-diff-length is too small to display diff#393
dag-andersen merged 1 commit intomainfrom
fix/max-diff-length-message

Conversation

@dag-andersen
Copy link
Copy Markdown
Owner

@dag-andersen dag-andersen commented Mar 26, 2026

Summary

  • When --max-diff-length is set too small to fit any diff content, the markdown output now shows a helpful warning instead of the misleading "No changes found" message.
  • Adds a warning log line so users also see the issue in CLI output.
  • Adds a test case reproducing the exact scenario from Bug: diff not showing #392.

@dag-andersen dag-andersen merged commit 0777b52 into main Apr 6, 2026
3 checks passed
@dag-andersen dag-andersen deleted the fix/max-diff-length-message branch April 6, 2026 08:45
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.

1 participant