MCPcopy
hub / github.com/graphql/graphql-spec / revList

Function revList

scripts/generate-contributor-list.mjs:63–68  ·  view source on GitHub ↗
(range, paths)

Source from the content-addressed store, hash-verified

61 die("Could not determine GitHub repo from 'origin' remote.");
62}
63function 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}
69function parseCoAuthorLines(message) {
70 const out = [];
71 const re = /^[ \t]*Co-authored-by:\s*(.+?)\s*<([^>]+)>/gim;

Callers 1

mainFunction · 0.85

Calls 1

execGitFunction · 0.85

Tested by

no test coverage detected