git Changed Files
Package: kwave.devtools
Return a list of files changed on current git branch.
Syntax
fileList = gitChangedFiles;
fileList = gitChangedFiles(returnAbsolutePath);
Description
Returns a cell array of file names that have been modified between the current git branch and main. By default, file names are given with paths relative to the k-Wave root directory. To return absolute file paths, call gitChangedFiles(true).
Input Arguments
returnAbsolutePath- (logical) Return absolute (true) or relative (false) path for modified files. Default = false.
Output Arguments
fileList- (string) Cell array of modified files.