Runs git as a subprocess, and returns its stdout as a list of lines.
(*args)
| 21 | |
| 22 | |
| 23 | def 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 | |
| 29 | def extract_title(commit_message_lines): |
no test coverage detected