• Show log

    Commit

  • Hash : 4bae85c5
    Author : Johannes Schindelin
    Date : 2019-09-18T16:33:18

    path: also guard `.gitmodules` against NTFS Alternate Data Streams
    
    We just safe-guarded `.git` against NTFS Alternate Data Stream-related
    attack vectors, and now it is time to do the same for `.gitmodules`.
    
    Note: In the added regression test, we refrain from verifying all kinds
    of variations between short names and NTFS Alternate Data Streams: as
    the new code disallows _all_ Alternate Data Streams of `.gitmodules`, it
    is enough to test one in order to know that all of them are guarded
    against.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    

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