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

Refactoring. MRC removal. Part two. #857

Merged

Conversation

lolgear
Copy link
Contributor

@lolgear lolgear commented Aug 20, 2022

This PR is second PR in series of MRC removal PRs.
Part one. #827

This PR removes MRC from

  • GINode
  • GCRepository+Reflog
  • GCSnapshot
  • GIGraphView

[_messages release];

[super dealloc];
_fromSHA1 = nil;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's remove all the nil assignments. It's just extra code that doesn't need to be there. Please apply this suggestion to everywhere in this PR. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lucasderraugh
Fixed.
Could you also comment on #858?
And I noticed that you merged your own PR with new libgit2.
Can we now check and merge File history PR?

@lolgear lolgear force-pushed the refactoring/mrc_removal_part_two branch from 90c4cdd to 3ad5757 Compare August 21, 2022 16:57
@lolgear
Copy link
Contributor Author

lolgear commented Sep 25, 2022

@lucasderraugh
Can you merge it?

Copy link
Collaborator

@lucasderraugh lucasderraugh left a comment

Choose a reason for hiding this comment

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

Some unnecessary copy calls and nil assignments, but overall it's fine and I'll take the change and clean up the copy sites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants