• Show log

    Commit

  • Hash : b762e576
    Author : Russell Belfer
    Date : 2011-11-17T15:10:27

    filebuf: add GIT_FILEBUF_INIT and protect multiple opens and cleanups
    
    Update all stack allocations of git_filebuf to use GIT_FILEBUF_INIT
    and make git_filebuf_open and git_filebuf_cleanup safe to be called
    multiple times on the same buffer.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>
    

  • README.md

  • Writing Clay tests for libgit2

    For information on the Clay testing framework and a detailed introduction please visit:

    https://github.com/tanoku/clay

    • Write your modules and tests. Use good, meaningful names.

    • Mix the tests:

        ./clay -vtap .
    • Make sure you actually build the tests by setting:

        BUILD_CLAY=ON
    • Test:

        ./build/libgit2_clay
    • Make sure everything is fine.

    • Send your pull request. That’s it.