pub fn resolve_forwarded_command(
context: &GitContext,
arguments: &[OsString],
) -> ResolvedCommandExpand 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>;