def METHOD_NAME(self, git_worktree: GitWorktree) -> list[str]:
    """Determines the files changed according to SCM/workspace and options."""
    if self.diffspec:
        return cast(
            List[str], git_worktree.changes_in(self.diffspec, relative_to=get_buildroot())
        )
    changes_since = self.since or git_worktree.current_rev_identifier
    return cast(
        List[str],
        git_worktree.METHOD_NAME(
            from_commit=changes_since, include_untracked=True, relative_to=get_buildroot()
        ),
    )