Retrieve a list of all files in the repository changed since the provided shaOrRef.
(shaOrRef = 'HEAD')
| 198 | |
| 199 | /** Retrieve a list of all files in the repository changed since the provided shaOrRef. */ |
| 200 | allChangesFilesSince(shaOrRef = 'HEAD'): string[] { |
| 201 | assertValidGitRef(shaOrRef); |
| 202 | return Array.from( |
| 203 | new Set([ |
| 204 | ...gitOutputAsArray(this.runGraceful(['diff', '--name-only', '--diff-filter=d', shaOrRef])), |
| 205 | ...gitOutputAsArray(this.runGraceful(['ls-files', '--others', '--exclude-standard'])), |
| 206 | ]), |
| 207 | ); |
| 208 | } |
| 209 | |
| 210 | /** Retrieve a list of all files currently staged in the repostitory. */ |
| 211 | allStagedFiles(): string[] { |
no test coverage detected