BigW Consortium Gitlab
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
concerns | Loading commit data... | |
network | Loading commit data... | |
project_services | Loading commit data... | |
.gitkeep | Loading commit data... | |
ability.rb | Loading commit data... | |
broadcast_message.rb | Loading commit data... | |
commit.rb | Loading commit data... | |
deploy_key.rb | Loading commit data... | |
deploy_keys_project.rb | Loading commit data... | |
diff_line.rb | Loading commit data... | |
email.rb | Loading commit data... | |
event.rb | Loading commit data... | |
forked_project_link.rb | Loading commit data... | |
group.rb | Loading commit data... | |
issue.rb | Loading commit data... | |
key.rb | Loading commit data... | |
merge_request.rb | Loading commit data... | |
merge_request_diff.rb | Loading commit data... | |
milestone.rb | Loading commit data... | |
namespace.rb | Loading commit data... | |
note.rb | Loading commit data... | |
notification.rb | Loading commit data... | |
personal_snippet.rb | Loading commit data... | |
project.rb | Loading commit data... | |
project_hook.rb | Loading commit data... | |
project_snippet.rb | Loading commit data... | |
project_team.rb | Loading commit data... | |
project_wiki.rb | Loading commit data... | |
protected_branch.rb | Loading commit data... | |
repository.rb | Loading commit data... | |
service.rb | Loading commit data... | |
service_hook.rb | Loading commit data... | |
snippet.rb | Loading commit data... | |
system_hook.rb | Loading commit data... | |
tree.rb | Loading commit data... | |
user.rb | Loading commit data... | |
users_group.rb | Loading commit data... | |
users_project.rb | Loading commit data... | |
web_hook.rb | Loading commit data... | |
wiki_page.rb | Loading commit data... |