(filename)
| 66 | |
| 67 | |
| 68 | def listContributors(filename): |
| 69 | contributors = set() |
| 70 | result = subprocess.check_output( |
| 71 | ["git", "log", "--follow", "--format=format:%ad %an <%ae>", "--date=short", "--", filename], |
| 72 | text=True, |
| 73 | ) |
| 74 | for line in result.split("\n"): |
| 75 | year = line[0:4] |
| 76 | name = line[11:] |
| 77 | contributors.add((year, name)) |
| 78 | return contributors |
| 79 | |
| 80 | |
| 81 | def extractBodyLines(lines): |
no outgoing calls
no test coverage detected
searching dependent graphs…