summaryrefslogtreecommitdiffstats
path: root/lib/git/base.rb
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2008-06-24 18:59:42 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2008-06-24 18:59:42 -0400
commitb73d3c8fb2039cb06be6a52d3a21dbc959f8f50c (patch)
tree6ad1452d68245ab7f7afec56aa4fb12650b47865 /lib/git/base.rb
parent1adc5b8136c2cd6c694629947e1dbc49c8bffe6a (diff)
downloadthird_party-ruby-git-b73d3c8fb2039cb06be6a52d3a21dbc959f8f50c.tar.gz
third_party-ruby-git-b73d3c8fb2039cb06be6a52d3a21dbc959f8f50c.tar.xz
third_party-ruby-git-b73d3c8fb2039cb06be6a52d3a21dbc959f8f50c.zip
Adding forcefull pushing
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r--lib/git/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb
index 6ce7efe..61b1f62 100644
--- a/lib/git/base.rb
+++ b/lib/git/base.rb
@@ -293,8 +293,8 @@ module Git
#
# @git.config('remote.remote-name.push', 'refs/heads/master:refs/heads/master')
#
- def push(remote = 'origin', branch = 'master')
- self.lib.push(remote, branch)
+ def push(remote = 'origin', branch = 'master', opts = {})
+ self.lib.push(remote, branch, opts)
end
# merges one or more branches into the current working branch