(range, paths)
| 61 | die("Could not determine GitHub repo from 'origin' remote."); |
| 62 | } |
| 63 | function revList(range, paths) { |
| 64 | const args = ["rev-list", range]; |
| 65 | if (paths.length) args.push("--", ...paths); |
| 66 | const out = execGit(args); |
| 67 | return out.split(/\r?\n/).filter(Boolean); |
| 68 | } |
| 69 | function parseCoAuthorLines(message) { |
| 70 | const out = []; |
| 71 | const re = /^[ \t]*Co-authored-by:\s*(.+?)\s*<([^>]+)>/gim; |