Skip to main content

build_add_argv

Function build_add_argv 

Source
pub fn build_add_argv(paths: &[String]) -> Result<Vec<String>, GitArgError>
Expand description

Builds the argv for the git add pre-stage step of git.commit when paths is non-empty. Fixed shape: ["add", "--", literal-pathspecs...].