Skip to content

Commit 9f4cd12

Browse files
authored
added opts to base.rb > pull method
1 parent 0e0884f commit 9f4cd12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/git/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ def each_conflict(&block) # :yields: file, your_version, their_version
386386
# @git.pull('upstream') # pulls from upstream/master
387387
# @git.pull('upstream', 'develope') # pulls from upstream/develop
388388
#
389-
def pull(remote='origin', branch='master')
390-
self.lib.pull(remote, branch)
389+
def pull(remote='origin', branch='master', opts = {})
390+
self.lib.pull(remote, branch, opts)
391391
end
392392

393393
# returns an array of Git:Remote objects

0 commit comments

Comments
 (0)