Commit number not correct
Summary
Commit number will not count all of them. It will just show the loaded ones.
Steps to reproduce
-
Open the commit page, for example, https://gitlab.com/gitlab-org/gitlab/-/commits/master
-
commit number is 40.
-
scroll down and load more commits.
-
commit number will be more than 40, 76 at below.
Example Project
What is the current bug behavior?
What is the expected correct behavior?
This number should be consistent. Call some api to get the total number maybe.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
- Recommendation is to hide the count of commits per day.
- Also the date format for the commit day header should be Nov 16, 2022 not "16 Nov, 2022"
For more context #365327 (comment 1173683517)
Edited by Michael Le