feature/end-of-sequence #5

Merged
maximilianbarg merged 4 commits from feature/end-of-sequence into main 2026-09-27 17:06:34 +00:00
No description provided.
to_structured rendered conflict units via unit.to_dict(), so the
normalized lines (e.g. 'a\n' instead of 'a') leaked into the JSON
content, and to_json_lines only stripped the versions of a trailing
conflict unit, not its base. to_structured now builds on
to_json_lines(), which strips the final newline from the last unit's
lines, base and versions when the document does not end with one.

Also rename the new test to the test__ naming convention and update
docs/newline-handling.md.
docs: document to_* output formats
Some checks failed
Tests / test (3.11) (pull_request) Has been cancelled
Tests / test (3.12) (pull_request) Has been cancelled
Tests / test (3.13) (pull_request) Has been cancelled
Tests / test (3.14) (pull_request) Has been cancelled
c9375d9d0f
Add docstrings to to_git, to_git_extended, to_structured,
to_json_lines and to_json_string showing the rendered output, the
unit dict shapes, and the trailing-newline behaviour.
Merge branch 'main' into feature/end-of-sequence
All checks were successful
Tests / test (3.11) (pull_request) Successful in 3s
Tests / test (3.12) (pull_request) Successful in 3s
Tests / test (3.13) (pull_request) Successful in 4s
Tests / test (3.14) (pull_request) Successful in 4s
7a694bc1a0
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
maximilianbarg/n-way-merge!5
No description provided.