class Git::Commands::Am::Apply

Implements ‘git am` to apply a series of patches from a mailbox

Splits mail messages in a mailbox into commit log messages, authorship information, and patches, and applies them to the current branch.

@example Apply patches from a mailbox file

am = Git::Commands::Am::Apply.new(execution_context)
am.call('patches.mbox', chdir: repo.workdir)

@example Apply patches with sign-off

am.call('patches.mbox', signoff: true, chdir: repo.workdir)

@example Apply with 3-way merge fallback

am.call('patches.mbox', three_way: true, chdir: repo.workdir)

@note ‘arguments` block audited against git-scm.com/docs/git-am/2.53.0

@see git-scm.com/docs/git-am git-am

@api private