* Returns the list of files added by the local branch relative to the branch * point off of the main branch, one on each line. * @return {!Array }
()
| 100 | * @return {!Array<string>} |
| 101 | */ |
| 102 | function gitDiffAddedNameOnlyMain() { |
| 103 | const branchPoint = gitMergeBaseLocalMain(); |
| 104 | return getStdout(`git diff --name-only --diff-filter=ARC ${branchPoint}`) |
| 105 | .trim() |
| 106 | .split('\n'); |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Returns the full color diff of the uncommited changes on the local branch. |
no test coverage detected