We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf57bb commit cd0c2b0Copy full SHA for cd0c2b0
lib/git/base.rb
@@ -343,7 +343,7 @@ def fetch(remote = 'origin')
343
#
344
def push(remote = 'origin', branch = 'master', opts = {})
345
# Small hack to keep backwards compatibility with the 'push(remote, branch, tags)' method signature.
346
- opts = {tags: opts} if [true, false].include?(opts)
+ opts = {:tags => opts} if [true, false].include?(opts)
347
348
self.lib.push(remote, branch, opts)
349
end
0 commit comments