diff options
author | Russell Belfer <rb@github.com> | 2013-10-29 18:30:49 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-10-29 18:30:49 -0700 |
commit | 66902d47737da1100de5e24498cf8c7260b183df (patch) | |
tree | 117d7b44402f2ec6408a80df9ba5eee81212df7b /tests/diff/blob.c | |
parent | 5c50f22a93c78190fb7d81802199ff9defc8cf55 (diff) | |
download | libgit2-66902d47737da1100de5e24498cf8c7260b183df.tar.gz |
Extract common example helpers and reorg examples
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.
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions