mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #242] [CLOSED] merge_check: separate Git revisions from checkout paths #294
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#294
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/242
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/9973📝 Commits (1)
63170femerge_check: separate Git revisions from checkout paths📊 Changes
2 files changed (+21 additions, -6 deletions)
View changed files
📝
scripts/merge_check.py(+3 -3)📝
tests/test_merge_check.py(+18 -3)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Continuing
#9616for BUILD-MERGE-CHECK-REV-PATH. Coordination claim. This applies directly tomainatd083a2cc3with no prerequisite PRs.Running
merge_check.py --main mainin a checkout containing a file namedmainmade Git abort before the tool could report a verdict. The same ambiguity affected the diff and blob reads used to detect duplicated text. A trailing--tellsgit log,git diff, andgit showwhere their revision arguments end.The regression creates four checkout paths in turn: a branch name, its full commit ID, the merged tree ID, and (on POSIX) a blob expression. The checker must report the same three duplicate lines in each case. The existing test for a genuine blob-read error still checks for exit 2.
Verification
git diff --check, andscripts/check_no_game_data.pypassed. The repository’s merge checker reported one clean commit with no conflicts or duplicate text against the base.test_exec_computed,test_image_atomics_guard,test_sopc_validation,test_unary_f16_validation).AI-assisted (Codex). All fixtures are synthetic.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.