• Show log

    Commit

  • Hash : eb7e17cc
    Author : Russell Belfer
    Date : 2014-04-08T14:47:20

    Update submodules with parent-tracked content
    
    This updates how libgit2 treats submodule-like directories that
    actually have tracked content inside of them.  This is a strange
    corner case, but it seems that many people have abortive submodule
    setups and then just went ahead and added the files into the
    parent repository.  In this case, we should just treat the
    submodule as if it was a normal directory.
    
    Libgit2 will still try to skip over real submodules and contained
    repositories that do not have tracked files inside them, but this
    adds some new handling for cases where the apparently submodule
    data is in conflict with the actual list of tracked files.
    

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