MCPcopy Create free account
hub / github.com/driusan/dgit / RevParseCommitish

Function RevParseCommitish

git/revparse.go:208–357  ·  view source on GitHub ↗

RevParse will parse a single revision into a Commitish object.

(c *Client, opt *RevParseOptions, arg string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

RevertFunction · 0.92
BranchFunction · 0.92
MergeFunction · 0.92
TagFunction · 0.92
LogFunction · 0.92
CommitTreeFunction · 0.92
RevParseTreeishFunction · 0.85
RevParseCommitFunction · 0.85
RevParseFunction · 0.85
ResetFunction · 0.85
PullFunction · 0.85
CloneFunction · 0.85

Calls 15

ExistsMethod · 0.95
Sha1FromStringFunction · 0.85
CommitIDTypeAlias · 0.85
SymbolicRefGetFunction · 0.85
FileTypeAlias · 0.85
RefSpecTypeAlias · 0.85
GetBranchFunction · 0.85
ParentsMethod · 0.80
GetHeadCommitMethod · 0.80
HasPrefixMethod · 0.80
NameMethod · 0.80

Tested by 1

TestCheckoutBranchFunction · 0.68