• Show log

    Commit

  • Hash : bdc82e1c
    Author : Carlos Martín Nieto
    Date : 2014-04-24T14:08:29

    fetchhead: deal with quotes in branch names
    
    The current FETCH_HEAD parsing code assumes that a quote must end the
    branch name. Git however allows for quotes as part of a branch name,
    which causes us to consider the FETCH_HEAD file as invalid.
    
    Instead of searching for a single quote char, search for a quote char
    followed by SP, which is not a valid part of a ref name.
    

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