For projects using Git: "git diff --name-only master" shows a list of files which changed when comparing the current branch to master.
It would be great if the scanner could only scan those files in order to provide feedback about foss and licenses contained in the pull request. In bash-like environments, this task could be achieved by a one-liner (E.g. "git diff --name-only master | ./scancode --licenses --json-pp") if the scanner could take a list of files as input.
For projects using Git: "git diff --name-only master" shows a list of files which changed when comparing the current branch to master.
It would be great if the scanner could only scan those files in order to provide feedback about foss and licenses contained in the pull request. In bash-like environments, this task could be achieved by a one-liner (E.g. "git diff --name-only master | ./scancode --licenses --json-pp") if the scanner could take a list of files as input.