• Show log

    Commit

  • Hash : 52462e1c
    Author : pontusm
    Date : 2012-05-13T10:11:13

    Test case to reproduce issue #690.
    Staged file status does not handle CRLF correctly. Ensures that the test repo has core.autocrlf=true for the test to fail.
    

  • README.md

  • Writing Clar tests for libgit2

    For information on the Clar testing framework and a detailed introduction please visit:

    https://github.com/tanoku/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.