Skip to main content

run_hook_entry

Function run_hook_entry 

Source
pub fn run_hook_entry(arguments: &[OsString]) -> i32
Expand description

What: The hook entry: run git-lfs pre-push and print diagnostics on standard error. Why: Git starts this through the injected hook.cli-git-lfs-pre-push.command with <remote> <url> and the update lines on standard input.

In TS you’d write (pseudocode):

process.exitCode = runWithProgram('git-lfs', args, process.stderr);