mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:25:53 +01:00
[PR #300] [CLOSED] merge_check: preserve Unicode line separators in squash subjects #350
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#350
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/300
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/10032📝 Commits (1)
ac5ca02merge_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
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116837902
Git separates log records with LF. A Unicode line separator inside a squash subject is part of that subject. Splitting there made the history scan attribute the merge to an earlier PR number and miss the trailing one. Split on LF only.
The regression creates a temporary Git repository. On the parent it attributed the commit to
#10; on this branch it correctly attributes it to#11. Windows CPU only, no GPU or game inputs. Of 21 merge_check tests, 20 passed. Both subcases of test_duplicate_check_reports_failed_blob_reads also failed on the parent in an independent run. Changed-file game-data and whitespace checks passed.Semantic suite: 6,046 tests in 459 files; failures in test_exec_computed, test_image_atomics_guard, test_sopc_validation and test_unary_f16_validation. This PR touches only merge_check and its test. AI-assisted with Codex.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.