diff --git a/lib/git/lib.rb b/lib/git/lib.rb index 7f71d53a..2c91d8d4 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -575,9 +575,9 @@ def push(remote, branch = 'master', tags = false) command('push', ['--tags', remote]) if tags end - def pull(remote='origin', branch='master') - command('pull', [remote, branch]) - end + def pull(remote='origin', branch='master') + command('pull', [remote, branch]) + end def tag_sha(tag_name) head = File.join(@git_dir, 'refs', 'tags', tag_name)