diff options
Diffstat (limited to 'app/roles/repository.rb')
-rw-r--r-- | app/roles/repository.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/roles/repository.rb b/app/roles/repository.rb index 882ec31033c..8942eaea754 100644 --- a/app/roles/repository.rb +++ b/app/roles/repository.rb @@ -137,6 +137,8 @@ module Repository def has_commits? !!commit + rescue Grit::NoSuchPathError + false end def root_ref |