Function git_wrapper::git_cmd[][src]

pub fn git_cmd(args: Vec<&str>) -> Result<Output, PosixError>

Helper function executing git without a working directory and returning std::process::Output.

Useful for git commands not needing a working directory like e.g. git ls-remote.