pub fn rev_list_with_args(
cwd: &Path,
include: &[&str],
exclude: &[&str],
extra_cmdline_args: &[&str],
) -> Result<Vec<RevListEntry>, Error>Expand description
rev_list with extra command-line args spliced before --stdin.
Used for the upstream --not --remotes=<name> optimization: pre-push
invokes rev-list with that pair on the command line so the trace
(GIT_TRACE=1) shows it verbatim — t-pre-push.sh greps for
rev-list.*--not --remotes=origin to confirm the optimization
kicked in for a git push <url> whose URL matches a configured
remote.