Skip to main content

resolve_forwarded_command

Function resolve_forwarded_command 

Source
pub fn resolve_forwarded_command(
    context: &GitContext,
    arguments: &[OsString],
) -> ResolvedCommand
Expand description

What: Resolve the command a forwarded invocation runs, expanding aliases up to MAX_ALIAS_EXPANSIONS times; a built-in name starts no Git process. Why: resolveForwardedCommand.

In TS you’d write (pseudocode):

async function resolveForwardedCommand({ args, gitPath }): Promise<ResolvedGitCommand>;