enum

Git2::GitRevparseModeT

Inherits Enum < Comparable < Value < Object

Constants

GIT_REVPARSE_SINGLE = 1
GIT_REVPARSE_RANGE = 2
GIT_REVPARSE_MERGE_BASE = 4
None = 0
All = 7

Instance methods

git_revparse_merge_base?

Returns true if this enum value contains GIT_REVPARSE_MERGE_BASE

Source
git_revparse_range?

Returns true if this enum value contains GIT_REVPARSE_RANGE

Source
git_revparse_single?

Returns true if this enum value contains GIT_REVPARSE_SINGLE

Source
none?
Source