Skip to content

test(repo): cover unicode and duplicate-SHA cases for commit_details_many - #2373

Merged
max-sixty merged 1 commit into
mainfrom
commit-details-many-tests
Apr 22, 2026
Merged

max-sixty merged 1 commit into
mainfrom
commit-details-many-tests

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Fills in two gaps flagged in review of #2369 — tests only, no changes to diff.rs.

  • commit_details_many_preserves_multibyte_utf8_subject — pins that "Add support for 日本語 and émoji 🎉" round-trips through the NUL-delimited splitn(3, '\0') parser.
  • commit_details_many_deduplicates_repeated_sha — pins that git's --no-walk dedupe on a repeated input SHA surfaces as one map entry and one cache entry, so a future git change or refactor can't silently regress it.

This was written by Claude Code on behalf of Maximilian

…many

Fills in two gaps flagged in review of #2369: that multibyte UTF-8 subjects
round-trip through the NUL-delimited parser intact, and that git's --no-walk
dedupe on repeated input SHAs surfaces cleanly (one map entry, one cache entry).

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 62b575a into main Apr 22, 2026
25 checks passed
@max-sixty
max-sixty deleted the commit-details-many-tests branch April 22, 2026 02:00
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.

2 participants