def METHOD_NAME(filename):
    contributors = set()
    result = subprocess.check_output(
        ["git", "log", "--format=format:%ad %an <%ae>", "--date=short", "--", filename],
        text=True,
    )
    for line in result.split("\n"):
        year = line[0:4]
        name = line[11:]
        contributors.add((year, name))
    return contributors