git-commits
Abstraction of git2
providing a simple interface
for easily iterating over commits and changes in a
Git repository.
In short, both git log --name-status
and
git log --stat --format=fuller
can be
implemented with just a handful of lines.
Example
let repo = open?;
for commit in repo.commits?