• Show log

    Commit

  • Hash : f30fff45
    Author : Russell Belfer
    Date : 2013-06-19T15:27:25

    Add index pathspec-based operations
    
    This adds three new public APIs for manipulating the index:
    
    1. `git_index_add_all` is similar to `git add -A` and will add
       files in the working directory that match a pathspec to the
       index while honoring ignores, etc.
    2. `git_index_remove_all` removes files from the index that match
       a pathspec.
    3. `git_index_update_all` updates entries in the index based on
       the current contents of the working directory, either added
       the new information or removing the entry from the index.
    

  • README.md

  • Writing Clar tests for libgit2

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

    https://github.com/vmg/clar

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

    • Make sure you actually build the tests by setting:

        cmake -DBUILD_CLAR=ON build/
    • Test:

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

    • Send your pull request. That’s it.