diff --git a/app/models/site/repository.rb b/app/models/site/repository.rb index ec600a61..36305b2a 100644 --- a/app/models/site/repository.rb +++ b/app/models/site/repository.rb @@ -81,6 +81,7 @@ class Site # Hay commits sin aplicar? def needs_pull? + fetch !commits.empty? end