• Show log

    Commit

  • Hash : 66902d47
    Author : Russell Belfer
    Date : 2013-10-29T18:30:49

    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.

  • README.md

  • 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