relizy / getCommitChangedFiles
Function: getCommitChangedFiles()
getCommitChangedFiles(
commit):string[]
Defined in: src/core/repo.ts:168
Extract the changed file paths (POSIX) from a commit body. getGitDiff runs git log --name-status, so the body carries lines like M\tpath/to/file (renames/copies use R100\told\tnew - the new path is the last field).
Parameters
commit
GitCommit
Returns
string[]