diff --git a/bin-src/git/git.js b/bin-src/git/git.js index bc8f0b644..990fe2c72 100644 --- a/bin-src/git/git.js +++ b/bin-src/git/git.js @@ -100,7 +100,8 @@ export async function getSlug() { // We could cache this, but it's probably pretty quick export async function getCommit(revision = '') { const result = await execGitCommand( - `git --no-pager log -n 1 --format="%H ## %ct ## %ce ## %cn" ${revision}` + // Technically this yields the author info, not committer info + `git --no-pager log -n 1 --format="%H ## %ct ## %ae ## %an" ${revision}` ); const [commit, committedAtSeconds, committerEmail, committerName] = result.split(' ## '); return { commit, committedAt: committedAtSeconds * 1000, committerEmail, committerName };