Skip to content

internal types: change enums from type_t to _t #5364

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

Merged
merged 4 commits into from
Jan 24, 2020
Merged

internal types: change enums from type_t to _t #5364

merged 4 commits into from
Jan 24, 2020

Conversation

ethomson
Copy link
Member

libgit2 does not use type_t suffixes as it's redundant; thus, rename some internal types to remove type from the name.

  • git_http_authtype_t -> git_http_auth_t
  • git_iterator_type_t -> git_iterator_t
  • git_rebase_type_t -> git_rebase_t
  • git_merge_diff_type_t -> git_merge_diff_t

libgit2 does not use `type_t` suffixes as it's redundant; thus, rename
`git_merge_diff_type_t` to `git_merge_diff_t` for consistency.
libgit2 does not use `type_t` suffixes as it's redundant; thus, rename
`git_rebase_type_t` to `git_rebase_t` for consistency.
libgit2 does not use `type_t` suffixes as it's redundant; thus, rename
`git_iterator_type_t` to `git_iterator_t` for consistency.
libgit2 does not use `type_t` suffixes as it's redundant; thus, rename
`git_http_authtype_t` to `git_http_auth_t` for consistency.
Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

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

Thanks, @ethomson!

@pks-t pks-t merged commit 9bcf10e into master Jan 24, 2020
@pks-t pks-t deleted the ethomson/typet branch January 24, 2020 08:57
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