Skip to main content

stdout_raw_or_why

Function stdout_raw_or_why 

Source
pub fn stdout_raw_or_why(args: &[&str]) -> Result<Vec<u8>, String>
Expand description

As stdout_raw, but a failure keeps git’s own reason: its stderr, trimmed (safe.directory, “not a git repository”), or why it could not be started.