* Returns a detailed log of commits included in a PR check, starting with (and * including) the branch point off of the main branch. Limited to commits in the * past 30 days to keep the output length manageable. * * @return {string}
()
| 86 | * @return {string} |
| 87 | */ |
| 88 | function gitDiffCommitLog() { |
| 89 | const branchCreationPoint = gitBranchCreationPoint(); |
| 90 | const commitLog = getStdout(`git -c color.ui=always log --graph \ |
| 91 | --pretty=format:"%C(red)%h%C(reset) %C(bold cyan)%an%C(reset) \ |
| 92 | -%C(yellow)%d%C(reset) %C(reset)%s%C(reset) %C(green)(%cr)%C(reset)" \ |
| 93 | --abbrev-commit ${branchCreationPoint}^...HEAD --since "30 days ago"`).trim(); |
| 94 | return commitLog; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Returns the list of files added by the local branch relative to the branch |
no test coverage detected