Skip to content

feat: add apply and am commands#72

Merged
joshrotenberg merged 1 commit into
mainfrom
feat/apply-am
Apr 8, 2026
Merged

feat: add apply and am commands#72
joshrotenberg merged 1 commit into
mainfrom
feat/apply-am

Conversation

@joshrotenberg
Copy link
Copy Markdown
Owner

Summary

  • Add git apply command with support for check, stat, summary, cached, index, reverse, 3-way merge, and verbose modes
  • Add git am command with support for 3-way merge, keep, signoff, abort, continue, skip, and quiet modes
  • Named Git.apply_patch/1 in the public API to avoid conflict with Kernel.apply

Completes the patch workflow alongside existing format-patch. 30 new tests.

Closes #61

Test plan

  • mix format --check-formatted
  • mix compile --warnings-as-errors
  • mix credo --strict
  • mix test (30 new tests pass)

@joshrotenberg joshrotenberg merged commit 85830bf into main Apr 8, 2026
2 checks passed
@joshrotenberg joshrotenberg deleted the feat/apply-am branch April 8, 2026 20:11
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.

feat: add patch workflow commands (apply, am)

1 participant