This example demonstrates the libgit2 rev walker APIs to roughly
simulate the output of git log and a few of command line arguments.
git log has many many options and this only shows a few of them.
This does not have:
- Robust error handling
- Colorized or paginated output formatting
- Most of the git log options
This does have:
- Examples of translating command line arguments to equivalent libgit2
revwalker configuration calls
- Simplified options to apply pathspec limits and to show basic diffs
This example demonstrates the libgit2 rev walker APIs to roughly simulate the output of git log and a few of command line arguments. git log has many many options and this only shows a few of them.
This does not have:
- Robust error handling - Colorized or paginated output formatting - Most of the git log options
This does have:
- Examples of translating command line arguments to equivalent libgit2 revwalker configuration calls - Simplified options to apply pathspec limits and to show basic diffs