• Show log

    Commit

  • Hash : 125655fe
    Author : Russell Belfer
    Date : 2013-07-02T16:49:57

    Untracked directories with .git should be ignored
    
    This restores a behavior that was accidentally lost during some
    diff refactoring where an untracked directory that contains a .git
    item should be treated as IGNORED, not as UNTRACKED.  The submodule
    code already detects this, but the diff code was not handling the
    scenario right.
    
    This also updates a number of existing tests that were actually
    exercising the behavior but did not have the right expectations in
    place.  It actually makes the new
    `test_diff_submodules__diff_ignore_options` test feel much better
    because the "not-a-submodule" entries are now ignored instead of
    showing up as untracked items.
    
    Fixes #1697
    

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