pub fn entries(
    repo: Repository,
    treeish: Option<&str>,
    recursive: bool,
    extended: bool,
    format: OutputFormat,
    out: impl Write
) -> Result<()>