Skip to content

Expose merge continue API - #25

Merged
odrobnik merged 2 commits into
mainfrom
agent/issue-21
Jul 11, 2026
Merged

Expose merge continue API#25
odrobnik merged 2 commits into
mainfrom
agent/issue-21

Conversation

@odrobnik

Copy link
Copy Markdown
Contributor

Resolves #21.

Summary

  • Add Repository.mergeContinue(...) for committing resolved merge state using HEAD plus MERGE_HEAD parents.
  • Preserve the prepared merge message by default, honor author/committer env resolution, and clean merge state after commit.
  • Cover resolved conflicted merge commits, state cleanup, and the resolved-tree-equals-HEAD case.

Verification

  • swift build --build-tests --scratch-path /Volumes/SSD/SwiftPM/GitKit-issue-21
  • swift test --skip-build --scratch-path /Volumes/SSD/SwiftPM/GitKit-issue-21

@odrobnik
odrobnik merged commit c9d770e into main Jul 11, 2026
6 checks passed
@odrobnik
odrobnik deleted the agent/issue-21 branch July 11, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose merge-continue API for resolved conflicted merges

1 participant