• Show log

    Commit

  • Hash : 817d6251
    Author : Russell Belfer
    Date : 2013-01-03T16:56:27

    Fix checkout of index-only dirs and prefixed paths
    
    There are a couple of checkout bugs fixed here.  One is with
    untracked working directory entries that are prefixes of tree
    entries but not in a meaningful way (i.e. "read" is a prefix of
    "readme.txt" but doesn't interfere in any way).  The second bug
    is actually a redo of 07edfa0fc640f85f95507c3101e77accd7d2bf0d
    where directory entries in the index that are not in the diff
    were not being removed correctly.  That fix remedied one case
    but broke another.
    

  • 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.