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

DRY delta types #581

Merged
merged 2 commits into from
Aug 4, 2016
Merged

DRY delta types #581

merged 2 commits into from
Aug 4, 2016

Conversation

tiennou
Copy link
Contributor

@tiennou tiennou commented Jun 28, 2016

This merge the 2 definitions we have of the GIT_DELTA_* enumeration, because I found them to be out of sync. Bikeshedding welcome on the name, but I can't think of something better that wouldn't be specific to one case or the other...

return (GTDeltaType)self.git_diff_delta.status;
}

- (double)similarity {
Copy link
Member

Choose a reason for hiding this comment

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

Did this just slip in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's 87c6b2a, so no, it's willingly present.

Copy link
Member

Choose a reason for hiding this comment

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

But it's private and unused?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I may or may not have forgotten adding the @property 😟 .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rebased with fixup, sorry about that.

@pietbrauer pietbrauer merged commit deb6e4e into master Aug 4, 2016
@pietbrauer pietbrauer deleted the dry-delta-types branch August 4, 2016 11:54
@pietbrauer
Copy link
Member

Thanks 🍝

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

Successfully merging this pull request may close these issues.

2 participants