* Returns the full color diff of the given file relative to the branch point * off of the main branch. * @param {string} file * @return {string}
(file)
| 121 | * @return {string} |
| 122 | */ |
| 123 | function gitDiffFileMain(file) { |
| 124 | const mainBaseline = gitMainBaseline(); |
| 125 | return getStdout(`git -c color.ui=always diff -U1 ${mainBaseline} ${file}`); |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Returns the name of the branch from which the PR originated. |
no test coverage detected