Class: Git::Commands::Am::ShowCurrentPatch Private
- Defined in:
- lib/git/commands/am/show_current_patch.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Note:
arguments block audited against https://git-scm.com/docs/git-am/2.53.0
Implements the git am --show-current-patch command
Shows the message currently being applied when git am has stopped due to
conflicts.
Instance Method Summary collapse
-
#call(*, show_current_patch: true, **options) ⇒ Git::CommandLineResult
private
Execute the
git am --show-current-patchcommand.
Methods inherited from Base
allow_exit_status, arguments, #initialize, requires_git_version, skip_version_validation
Constructor Details
This class inherits a constructor from Git::Commands::Base
Instance Method Details
#call(*, show_current_patch: true, **options) ⇒ Git::CommandLineResult
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
53 54 55 56 57 58 59 60 |
# File 'lib/git/commands/am/show_current_patch.rb', line 53 def call(*, show_current_patch: true, **) unless show_current_patch raise ArgumentError, ":show_current_patch must be true or a non-empty String, got #{show_current_patch.inspect}" end super end |