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

Function gitConfig

git-p4.py:1061–1069  ·  view source on GitHub ↗
(key, typeSpecifier=None)

Source from the content-addressed store, hash-verified

1059
1060
1061def gitConfig(key, typeSpecifier=None):
1062 if key not in _gitConfig:
1063 cmd = ["git", "config"]
1064 if typeSpecifier:
1065 cmd += [typeSpecifier]
1066 cmd += [key]
1067 s = read_pipe(cmd, ignore_error=True)
1068 _gitConfig[key] = s.strip()
1069 return _gitConfig[key]
1070
1071
1072def gitConfigBool(key):

Callers 14

p4_build_cmdFunction · 0.85
decode_pathFunction · 0.85
gitConfigBoolFunction · 0.85
gitConfigIntFunction · 0.85
generatePointerMethod · 0.85
__init__Method · 0.85
exportGitTagsMethod · 0.85
runMethod · 0.85
__init__Method · 0.85
encodeWithUTF8Method · 0.85
importP4LabelsMethod · 0.85

Calls 1

read_pipeFunction · 0.85

Tested by

no test coverage detected