• Show log

    Commit

  • Hash : cccacac5
    Author : Russell Belfer
    Date : 2012-11-14T22:41:51

    Add POSIX compat lstat() variant for win32
    
    The existing p_lstat implementation on win32 is not quite POSIX
    compliant when setting errno to ENOTDIR.  This adds an option to
    make is be compliant so that code (such as checkout) that cares
    to have separate behavior for ENOTDIR can use it portably.
    
    This also contains a couple of other minor cleanups in the
    posix_w32.c implementations to avoid unnecessary work.
    

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