mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:10:53 +01:00
[PR #893] [MERGED] merge_check: preserve Unicode line separators in squash subjects (OLD-10032) #932
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#932
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/893
Author: @TanmaySatyam
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:fix/old-10032-merge-check-unicode-sep📝 Commits (1)
5274260merge_check: preserve Unicode line separators in squash subjects📊 Changes
2 files changed (+7 additions, -1 deletions)
View changed files
📝
scripts/merge_check.py(+1 -1)📝
tests/test_merge_check.py(+6 -0)📄 Description
Claimed in the coordination issue as: OLD-10032
Summary
Carries forward
old-pr/10032(carried-over draft #300) cleanly onto currentmain(3d3770c16), preserving the original author's (maxence468) commit (52742602f, 7 insertions, 1 deletion):out.splitlines()toout.split("\n")inscripts/merge_check.py:prior_merges()so Unicode line separators (such asU+2028) inside a squash-merge subject do not split a singlegit logentry into two lines and misattribute a PR number. Matches thesplit("\n")convention already used elsewhere inscripts/merge_check.py.test_unicode_line_separator_in_squash_subjectintests/test_merge_check.py.Testing & Verification
python -I scripts/check_no_game_data.py scripts/merge_check.py tests/test_merge_check.pyexits 0).python -I tests/test_merge_check.py -v: 24/24 OK (includingtest_unicode_line_separator_in_squash_subject)python -I tests/test_text_write_line_endings.py: 3/3 OKpython -m compileall -q scripts/merge_check.py tests/test_merge_check.py: OK🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.