Skip to main content

build_push_argv

Function build_push_argv 

Source
pub fn build_push_argv(
    remote: &str,
    branch: &str,
) -> Result<Vec<String>, GitArgError>
Expand description

Builds the argv for git push: ["push", "--", remote, branch]. Never carries a force flag – see reject_force, which handlers must call before reaching this function.