• Show log

    Commit

  • Hash : 0f838d27
    Author : Carlos Martín Nieto
    Date : 2014-11-02T20:03:23

    remote: add a failing test for checking the current branch's upstream
    
    When we update FETCH_HEAD we check whether the remote is the current
    branch's upstream remote. The code does not check whether the current
    refspec is relevant for this reference but always tries to perform the
    reverse transformation, which causes it to error out if the refspec
    doesn't match the reference.
    
    Thanks to Pierre-Olivier Latour for the reproduction recipe.
    

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