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

Function gitConfigList

git-p4.py:1095–1101  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

1093
1094
1095def gitConfigList(key):
1096 if key not in _gitConfig:
1097 s = read_pipe(["git", "config", "--get-all", key], ignore_error=True)
1098 _gitConfig[key] = s.strip().splitlines()
1099 if _gitConfig[key] == ['']:
1100 _gitConfig[key] = []
1101 return _gitConfig[key]
1102
1103def fullP4Ref(incomingRef, importIntoRemotes=True):
1104 """Standardize a given provided p4 ref value to a full git ref:

Callers 5

hasLargeFileExtensionMethod · 0.85
generateGitAttributesMethod · 0.85
importP4LabelsMethod · 0.85
getBranchMappingMethod · 0.85

Calls 1

read_pipeFunction · 0.85

Tested by

no test coverage detected