Skip to content

Commit cd0c2b0

Browse files
Ruby 1.9 to Ruby 1.8 syntax
1 parent 0bf57bb commit cd0c2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def fetch(remote = 'origin')
343343
#
344344
def push(remote = 'origin', branch = 'master', opts = {})
345345
# Small hack to keep backwards compatibility with the 'push(remote, branch, tags)' method signature.
346-
opts = {tags: opts} if [true, false].include?(opts)
346+
opts = {:tags => opts} if [true, false].include?(opts)
347347

348348
self.lib.push(remote, branch, opts)
349349
end

0 commit comments

Comments
 (0)