• Show log

    Commit

  • Hash : 840fb4fc
    Author : Russell Belfer
    Date : 2013-10-03T14:42:37

    Update repo init with fewer platform assumptions
    
    The repo init code was assuming Windows == no filemode, and
    Mac or Windows == no case sensitivity.  Those assumptions are not
    consistently true depending on the mounted file system.  This is a
    first step to removing those assumptions.  It focuses on the repo
    init code and the tests of that code.  There are still many other
    tests that are broken when those assumptions don't hold true, but
    this clears up one area of the code.
    
    Also, this moves the core.precomposeunicode logic to be closer to
    the current logic in core Git where it will be set to true on any
    filesystem where composed unicode is decomposed when read back.
    

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