4966ea67f91dd60e9ac4125e84a11888eef516df chmalee Thu Mar 14 16:27:33 2024 -0700 Special case Jairo's username for the git reports because of the hgwdev username/email mismatch, refs #33244 diff --git src/utils/git-reports/git-reports.c src/utils/git-reports/git-reports.c index e0b8067..1d79fe4 100644 --- src/utils/git-reports/git-reports.c +++ src/utils/git-reports/git-reports.c @@ -96,31 +96,31 @@ void runShell(char *cmd) /* Run a command and do simple error-checking */ { int exitCode = system(cmd); if (exitCode != 0) errAbort("system command [%s] failed with exitCode %d", cmd, exitCode); } void makeDiffAndSplit(struct commit *c, char *u, boolean full); // FOREWARD REFERENCE struct commit* getCommits() /* Get all commits from startTag to endTag */ { int numCommits = 0; safef(gitCmd,sizeof(gitCmd), "" -"validUsers=$(%s); git log %s..%s --name-status --color=never ${validUsers} > commits.tmp" +"validUsers=$(%s); git log %s..%s --name-status --color=never ${validUsers} --author=jnavarr5> commits.tmp" , getUsersCmd, startTag, endTag); runShell(gitCmd); struct lineFile *lf = lineFileOpen("commits.tmp", TRUE); int lineSize; char *line; struct commit *commits = NULL, *commit = NULL; struct files *files = NULL, *f = NULL; while (lineFileNext(lf, &line, &lineSize)) { char *w = nextWord(&line); AllocVar(commit); if (!sameString("commit", w)) lineFileAbort(lf, "expected keyword commit parsing commits.tmp\n"); commit->commitId = cloneString(nextWord(&line));