gitlab-org--gitlab-foss/app
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
..
assets Smaller event width for mobile devices 2014-06-06 22:33:52 +03:00
controllers Add users to /:id route 2014-06-07 15:06:55 +03:00
finders Refactor some search scopes to prevent wierd behaviour and PG::Error issues 2014-06-05 20:37:35 +03:00
helpers Specify language detection for highlight.js 2014-06-07 15:46:58 +03:00
mailers Merge pull request #6109 from jamit/master 2014-05-13 12:35:33 +03:00
models Merge branch 'commit-count' into 'master' 2014-06-10 09:59:54 +00:00
observers Only send email when project access level changes. 2014-04-03 13:24:05 +02:00
services Make a comment to MR whne milestone was changed 2014-06-10 12:33:17 +03:00
uploaders Make existing tests test something, return correct errors. 2014-05-26 14:17:46 +02:00
views Merge branch 'public-profile-info' into 'master' 2014-06-07 12:51:00 +00:00
workers Merge branch 'import-timeout' of https://dev.gitlab.org/dzaporozhets/gitlabhq into dzaporozhets/gitlabhq-import-timeout 2014-03-14 12:00:21 +02:00