from typing import Set


def parse_git_diff(diff_str: str) -> Set[str]:
    """
    Return parsed output of `git-diff --name-only`.

    Arguments
    ---------
    diff_str : str
        Output of `git-diff --name-only`.

    Returns
    -------
    set of str
        Unique set of files changed, according to git-diff
    """

    return set(map(str.strip, diff_str.strip().split("\n")))