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 cd0c2b0 commit 74896f6Copy full SHA for 74896f6
lib/git/lib.rb
@@ -573,7 +573,7 @@ def fetch(remote)
573
574
def push(remote, branch = 'master', opts = {})
575
# Small hack to keep backwards compatibility with the 'push(remote, branch, tags)' method signature.
576
- opts = {tags: opts} if [true, false].include?(opts)
+ opts = {:tags => opts} if [true, false].include?(opts)
577
578
arr_opts = []
579
arr_opts << '--f' if opts[:force] || opts[:f]
0 commit comments