Repository navigation
caps: Rename to features to avoid confusion - #2150
Merged
Merged
Conversation
Member
There was a problem hiding this comment.
What about GIT_FEATURE_SSH instead of GIT_HAS_SSH? Seems weird to have GIT_HAS_* in an enum called git_feature_t.
/ocd
vmg
pushed a commit
that referenced
this pull request
Mar 3, 2014
caps: Rename to features to avoid confusion
Member
There was a problem hiding this comment.
the openssh? I think you mean the libssh2 library. 😆
phatblat
pushed a commit
to phatblat/libgit2
that referenced
this pull request
Sep 13, 2014
caps: Rename to features to avoid confusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Git already has a very clear concept of "capabilities" (i.e. the ones that the network protocol supports, such as out of band packets and so on). Calling our own build flag check "capabilities" too makes this confusing, and worse of it all, gives us identifiers like
GIT_CAP_HTTPSandGIT_CAP_OFS_DELTAthat are 100% unrelated, and yet have the same prefix.Let's rename our own build features as "features" because it's a much more appropriate name.