On this page:
8.18
top
up

40RevparseπŸ”— i

procedure

( git_revparserevspecrepospec)integer?

revspec:revspec?
repo:repository?
spec:string?
Parse a revision string for from, to, and intent.

See man gitrevisions or http://git-scm.com/docs/git-rev-parse.html#_specifying_revisions for information on the syntax accepted.

procedure

( git_revparse_extrepospec)reference?

repo:repository?
spec:string?
Find a single object and intermediate reference by a revision string.

See man gitrevisions, or http://git-scm.com/docs/git-rev-parse.html#_specifying_revisions for information on the syntax accepted.

In some cases (@{<-n>} or <branchname>@{upstream}), the expression may point to an intermediate reference. When such expressions are being passed in, reference_out will be valued as well.

The returned object should be released with git_object_free and the returned reference with git_reference_free when no longer needed.

procedure

( git_revparse_singlerepospec)object?

repo:repository?
spec:string?
Find a single object, as specified by a revision string.

See man gitrevisions, or http://git-scm.com/docs/git-rev-parse.html#_specifying_revisions for information on the syntax accepted.

The returned object should be released with git_object_free when no longer needed.

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /