Skip to main content

stdout

Function stdout 

Source
pub fn stdout(args: &[&str]) -> Option<String>
Expand description

stdout of a git command, trimmed. None when git itself failed — which the hooks treat as “cannot tell, do not block”, never as “empty”.