Method: Git::Lib#apply
- Defined in:
- lib/git/lib.rb
#apply(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.
1240 1241 1242 1243 1244 |
# File 'lib/git/lib.rb', line 1240 def apply(patch_file) arr_opts = [] arr_opts << '--' << patch_file if patch_file command('apply', *arr_opts) end |