• Show log

    Commit

  • Hash : 6c23704d
    Author : Patrick Steinhardt
    Date : 2017-06-08T21:40:18

    settings: rename `GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION`
    
    Initially, the setting has been solely used to enable the use of
    `fsync()` when creating objects. Since then, the use has been extended
    to also cover references and index files. As the option is not yet part
    of any release, we can still correct this by renaming the option to
    something more sensible, indicating not only correlation to objects.
    
    This commit renames the option to `GIT_OPT_ENABLE_FSYNC_GITDIR`. We also
    move the variable from the object to repository source code.
    

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