Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
993
def
parseRevision(ref):
994
return
read_pipe([
"git"
,
"rev-parse"
, ref]).strip()
995
996
997
def
branchExists(ref):
Callers
3
p4BranchesInGit
Function · 0.85
gitCommitByP4Change
Method · 0.85
importRevisions
Method · 0.85
Calls
1
read_pipe
Function · 0.85
Tested by
no test coverage detected