Name |
Last commit
|
Last update |
---|---|---|
.. | ||
network | ||
test | ||
.gitignore | ||
CMakeLists.txt | ||
Makefile | ||
README.md | ||
add.c | ||
cat-file.c | ||
common.c | ||
common.h | ||
diff.c | ||
general.c | ||
init.c | ||
log.c | ||
rev-list.c | ||
rev-parse.c | ||
showindex.c | ||
status.c |
This reorganizes a few of the examples so that the main function comes first with the argument parsing extracted into a helper that can come at the end of the file (so the example focuses more on the use of libgit2 instead of command line support). This also creates a shared examples/common.[ch] so that useful helper funcs can be shared across examples instead of repeated.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
network | Loading commit data... | |
test | Loading commit data... | |
.gitignore | Loading commit data... | |
CMakeLists.txt | Loading commit data... | |
Makefile | Loading commit data... | |
README.md | Loading commit data... | |
add.c | Loading commit data... | |
cat-file.c | Loading commit data... | |
common.c | Loading commit data... | |
common.h | Loading commit data... | |
diff.c | Loading commit data... | |
general.c | Loading commit data... | |
init.c | Loading commit data... | |
log.c | Loading commit data... | |
rev-list.c | Loading commit data... | |
rev-parse.c | Loading commit data... | |
showindex.c | Loading commit data... | |
status.c | Loading commit data... |