Method: Git::Lib#apply_mail

Defined in:
lib/git/lib.rb

#apply_mail(patch_file)

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.



1246
1247
1248
1249
1250
# File 'lib/git/lib.rb', line 1246

def apply_mail(patch_file)
  arr_opts = []
  arr_opts << '--' << patch_file if patch_file
  command('am', *arr_opts)
end