lib/gitback/repository.rb in gitback-0.1.1 vs lib/gitback/repository.rb in gitback-0.1.2
- old
+ new
@@ -93,10 +93,10 @@
# Attempt to push if anything was committed and we have a remote repo
if commit_result !~ /working directory clean/
if @remote
puts "Pushing repository changes..."
- @repo.git.push({}, @remote, @branch)
+ @repo.git.native(:push, {}, @remote, @branch)
end
else
puts "No changes committed."
end
end