pub fn emit_with_opts<T: RenderOutput>(
cli: &Cli,
cfg: Option<&RepoConfig>,
out: &T,
opts: RenderOpts,
) -> Result<()>Expand description
Same as emit but lets the caller pass non-default render options
(e.g. RenderOpts { short: true, .. } for log --oneline).