Skip to main content

private_selection_commit_args

Function private_selection_commit_args 

Source
pub fn private_selection_commit_args(
    args: &[String],
    pathspecs: &[String],
) -> Vec<String>
Expand description

What: Removes the selection controls once the private index holds the exact user choice. Why: -i, -p, --include, --interactive and --patch already ran against the private index.

In TS you’d write (pseudocode):

privateSelectionCommitArgs({ args, pathspecs });