Skip to main content

Module git

Module git 

Source

Structs§

GitError
A failed git call whose message is git’s own error when it was captured.

Functions§

git
Run git, letting stderr (progress, errors) stream to the terminal.
git_quiet
Like git, but quiet: stderr is captured into the error rather than streamed, for callers that are UIs which must not be written over.
install_interrupt_handler
Route SIGINT through the interrupted flag: in-flight git calls kill their transfers and fail, so cleanup paths run instead of the process dying mid-write with the transfer orphaned.
kill_inflight
Kill every in-flight git call’s process group (quit with a transfer running).