Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: Remove unused Stats field from Commit struct #3395

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

acouvreur
Copy link
Contributor

@acouvreur acouvreur commented Dec 18, 2024

BREAKING CHANGE: The unused Stats field is removed from the Commit struct.

This field appears to never be populated throughout the codebase.

Closes #3394

This field appears to never be populated throughout the codebase.

Closes google#3394
@gmlewis gmlewis changed the title fix!: remove Stats field from Commit struct fix!: Remove unused Stats field from Commit struct Dec 18, 2024
Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @acouvreur !
LGTM.

Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@gmlewis gmlewis added NeedsReview PR is awaiting a review before merging. Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). labels Dec 18, 2024
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.21%. Comparing base (2b8c7fa) to head (f2a9c9c).
Report is 202 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3395      +/-   ##
==========================================
- Coverage   97.72%   92.21%   -5.51%     
==========================================
  Files         153      173      +20     
  Lines       13390    14770    +1380     
==========================================
+ Hits        13085    13620     +535     
- Misses        215     1060     +845     
  Partials       90       90              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@DiegoDev2 DiegoDev2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing the issue this definitely deserves a merge. Good job @acouvreur

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Dec 18, 2024
@gmlewis
Copy link
Collaborator

gmlewis commented Dec 18, 2024

Thank you, @DiegoDev2 !
Merging.

@gmlewis gmlewis merged commit 3c06fc1 into google:master Dec 18, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CommitStats in the Commit struct is always nil
3 participants