mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-24 07:40:40 +00:00
When the examples/diff.c was written, there was not yet a revparse API. Now we can use it to make command line parsing way better with less code. Yay! |
||
|---|---|---|
| .. | ||
| network | ||
| .gitignore | ||
| diff.c | ||
| general.c | ||
| Makefile | ||
| README.md | ||
| showindex.c | ||
libgit2 examples
These examples are meant as thin, easy-to-read snippets for Docurium (https://github.com/github/docurium) rather than full-blown implementations of Git commands. They are not vetted as carefully for bugs, error handling, or cross-platform compatibility as the rest of the code in libgit2, so copy with some caution.
For HTML versions, check "Examples" at http://libgit2.github.com/libgit2