Expand description
In-process git operations via libgit2.
Replaces all Command::new("git") usage with library calls.
Zero child processes, zero console windows, faster execution.
Structs§
- GitRepo
- Thin wrapper around
git2::Repository. - LogEntry
- A single commit from the log, with the list of files it touched.
Functions§
- commit_
distance - Count commits reachable from
tobut not fromfrom, equivalent togit rev-list --count <from>..<to>. - head_
sha - Return the full SHA of HEAD.