MCPcopy
hub / github.com/ampproject/amphtml / gitCommitterEmail

Function gitCommitterEmail

build-system/common/git.js:153–155  ·  view source on GitHub ↗

* Returns the email of the author of the latest commit on the local branch. * @return {string}

()

Source from the content-addressed store, hash-verified

151 * @return {string}
152 */
153function gitCommitterEmail() {
154 return getStdout('git log -1 --pretty=format:"%ae"').trim();
155}
156
157/**
158 * Returns list of commit SHAs and their cherry-pick status from the main

Callers 1

setPercyBranchFunction · 0.85

Calls 1

getStdoutFunction · 0.85

Tested by

no test coverage detected