• Show log

    Commit

  • Hash : 39c6fca3
    Author : Josh Triplett
    Date : 2016-04-03T16:01:01

    Add GIT_REPOSITORY_OPEN_NO_DOTGIT flag to avoid appending /.git
    
    GIT_REPOSITORY_OPEN_NO_SEARCH does not search up through parent
    directories, but still tries the specified path both directly and with
    /.git appended.  GIT_REPOSITORY_OPEN_BARE avoids appending /.git, but
    opens the repository in bare mode even if it has a working directory.
    To support the semantics git uses when given $GIT_DIR in the
    environment, provide a new GIT_REPOSITORY_OPEN_NO_DOTGIT flag to not try
    appending /.git.
    

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