Skip to content
Snippets Groups Projects

Project commit count for default branch

Merged username-removed-35056 requested to merge (removed):commit-count into master
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -106,7 +106,7 @@ class Repository
def commit_count
Rails.cache.fetch(cache_key(:commit_count)) do
begin
raw_repository.raw.commit_count
raw_repository.raw.commit_count(self.root_ref)
rescue
0
end
Loading