def tree(commit):
    status, stdout = git('show', '--pretty=format:%T', commit)
    if 0 != status:
        return None
    return stdout[0:40]
Return the tree in the given commit or None.
dataset/ETHPy150Open devstructure/blueprint/blueprint/git.py/tree