MCPcopy Index your code
hub / github.com/git/git / parseRevision

Function parseRevision

git-p4.py:993–994  ·  view source on GitHub ↗
(ref)

Source from the content-addressed store, hash-verified

991
992
993def parseRevision(ref):
994 return read_pipe(["git", "rev-parse", ref]).strip()
995
996
997def branchExists(ref):

Callers 3

p4BranchesInGitFunction · 0.85
gitCommitByP4ChangeMethod · 0.85
importRevisionsMethod · 0.85

Calls 1

read_pipeFunction · 0.85

Tested by

no test coverage detected