Skip to main content

Module git

Module git 

Source
Expand description

A thin wrapper over the git CLI — the user’s git, with the user’s configuration, for anything that writes.

Every call is argv-only, never prompts, takes no optional locks, and runs with LC_ALL=C so output is parseable. Nothing here contacts a remote.

Structs§

Git
git, run in one directory.
GitError
A failed git invocation.

Functions§

nul_fields
Splits NUL-terminated git output into UTF-8 (lossy) fields.