MCPcopy Create free account
hub / github.com/bazelbuild/bazel / git

Function git

scripts/release/relnotes.py:23–26  ·  view source on GitHub ↗

Runs git as a subprocess, and returns its stdout as a list of lines.

(*args)

Source from the content-addressed store, hash-verified

21
22
23def git(*args):
24 """Runs git as a subprocess, and returns its stdout as a list of lines."""
25 return subprocess.check_output(["git"] +
26 list(args)).decode("utf-8").strip().split("\n")
27
28
29def extract_title(commit_message_lines):

Callers 3

get_relnotes_betweenFunction · 0.85
relnotes.pyFile · 0.85

Calls 3

splitMethod · 0.80
stripMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected