def tree(commit):
    status, stdout = git('show', '--pretty=format:%T', commit)
    if 0 != status:
        return None
    return stdout[0:40]
Hook to write a warning to a file; replace if you like.
dataset/ETHPy150Open devstructure/blueprint/blueprint/git.py/tree--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/warnings.py/_show_warning