lib/teapot/command/fetch.rb in teapot-3.5.3 vs lib/teapot/command/fetch.rb in teapot-3.5.4
- old
+ new
@@ -122,10 +122,10 @@
# We should prompt for username/password if required...
return Rugged::Credentials::SshKeyFromAgent.new(username: username)
end
def modified?(repository)
- repository.status.each do |path, status|
+ repository.status do |path, status|
return true if status != [:ignored]
end
return false
end