MCPcopy Create free account
hub / github.com/apache/solr / get_gitlog_lines

Function get_gitlog_lines

dev-tools/scripts/addDepsToChanges.py:154–159  ·  view source on GitHub ↗

Run git log and return a list of raw subject lines (%s), newest first.

(user: str, prev_tag: str)

Source from the content-addressed store, hash-verified

152
153
154def get_gitlog_lines(user: str, prev_tag: str):
155 """
156 Run git log and return a list of raw subject lines (%s), newest first.
157 """
158 output = run('git log --author=' + user + ' --oneline --no-merges --pretty=format:"%s" ' + prev_tag + '..')
159 return list(filter(None, output.split("\n")))
160
161
162def parse_gitlog_lines(lines, author: str):

Callers 1

mainFunction · 0.85

Calls 2

runFunction · 0.70
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…