summaryrefslogtreecommitdiff
path: root/tests/clar_libgit2.c
Commit message (Collapse)AuthorAgeFilesLines
* Win32: UTF-8 <-> WCHAR conversion overhaulPhilip Kelley2014-04-191-30/+23
|
* Fix core.excludesfile named .gitignorerb/fix-leading-slash-ignoresRussell Belfer2014-04-141-0/+21
| | | | | | | | | | | | | | | | | Ignore rules with slashes in them are matched using FNM_PATHNAME and use the path to the .gitignore file from the root of the repository along with the path fragment (including slashes) in the ignore file itself. Unfortunately, the relative path to the .gitignore file was being applied to the global core.excludesfile if that was also named ".gitignore". This fixes that with more precise matching and includes test for ignore rules with leading slashes (which were the primary example of this being broken in the real world). This also backports an improvement to the file context logic from the threadsafe-iterators branch where we don't rely on mutating the key of the attribute file name to generate the context path.
* Tests for core.autocrlf and .gitattributesEdward Thomson2014-02-091-0/+8
|
* Close files on file diff failureEdward Thomson2014-02-091-0/+1
| | | | | Not closing the files on a diff failure ensures that clar cleanup will fail on win32 because we still have the file open.
* Rename tests-clar to testsBen Straub2013-11-141-0/+483