Files
gitlabhq/app/models
Dmitriy Zaporozhets 476cd0f763 Merge branch 'commit-count' into 'master'
Project commit count for default branch

Currently, the commit count displayed on a project's home page shows the total number of commits on the master branch. This can lead to situations in which a project may have no commits reported or very few if the project workflow does not involve the use of a branch named "master". Since number of commits can be an indicator of project health, showing 0 commits could make it harder to encourage adoption of a project.

This MR alters the repository model's `commit_count` method to return the count for the default branch instead of master.

See issue #299
2014-06-10 09:59:54 +00:00
..
2013-09-30 13:59:16 +03:00
2011-10-09 00:36:38 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-28 16:22:31 +02:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-06-02 13:43:07 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00
2014-04-09 15:05:03 +03:00