Skip to main content

run_push

Function run_push 

Source
pub fn run_push(
    git: &PushGit,
    arguments: &[OsString],
) -> Result<PushAttempt, SingleFlightError>
Expand description

What: Run git <arguments> (a push) as a bounded child, after the upload when the repository has LFS keys. Why: arguments[0] is push; what follows is its option region, which the pre-check and the plan read.

In TS you’d write (pseudocode):

async function runLfsAwarePush(git: PushGit, args: string[]): Promise<PushAttempt>;