(path, ref)
Return the contents of a file at a given tag
Return the contents of a file at a given tag
Return the contents of a file at a given tag
def git_show_file(path, ref):
    """
    Return the contents of a file at a given tag
    """
    root = get_root()
    command = f'git show {ref}:{path}'

    with chdir(root):
        return run_command(command, capture=True).stdout
def git_show_file ( path , ref ) : root = get_root ( ) command = f'git show {ref}:{path}' with chdir ( root ) : return run_command ( command , capture = True ) . stdout