Support patch receive into empty repos #95

Merged
vnprc merged 2 commits from agent/support-patch-root-bootstrap into master 2026-07-09 17:20:07 +01:00
Member

Summary

  • discover the source-side patch base from the branch upstream, same-named origin branch, or origin default branch instead of hard-coding origin/master
  • fall back to a root export when no source base exists, for first import into a newly created empty repo
  • allow root exports only into empty destination histories and document the behavior

Tests

  • bash -n allod tests/allod-patch.sh
  • git diff --check
  • bash tests/allod-patch.sh
## Summary - discover the source-side patch base from the branch upstream, same-named origin branch, or origin default branch instead of hard-coding origin/master - fall back to a root export when no source base exists, for first import into a newly created empty repo - allow root exports only into empty destination histories and document the behavior ## Tests - bash -n allod tests/allod-patch.sh - git diff --check - bash tests/allod-patch.sh
vnprc approved these changes 2026-07-09 17:20:01 +01:00
vnprc merged commit a8f043a3e5 into master 2026-07-09 17:20:07 +01:00
vnprc deleted branch agent/support-patch-root-bootstrap 2026-07-09 17:20:07 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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
allod/tools!95
No description provided.