libgit2

git_revparse_mode_t

Version:

Revparse flags. These indicate the intended behavior of the spec passed to git_revparse.

Values

GIT_REVPARSE_SINGLE
(1 << 0)

The spec targeted a single object.

GIT_REVPARSE_RANGE
(1 << 1)

The spec targeted a range of commits.

GIT_REVPARSE_MERGE_BASE
(1 << 2)

The spec used the '...' operator, which invokes special semantics.

Versions