mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 14:02:48 +00:00
![]() Per issue #533, the handling of relative paths in attribute and ignore files was not right. Fixed this by pre-joining the relative path of the attribute/ignore file onto the match string when a full path match is required. Unfortunately, fixing this required a bit more code than I would have liked because I had to juggle things around so that the fnmatch parser would have sufficient information to prepend the relative path when it was needed. |
||
---|---|---|
.. | ||
attr | ||
buf | ||
config | ||
core | ||
index | ||
network | ||
object | ||
odb | ||
refs | ||
repo | ||
status | ||
clay | ||
clay_helpers.c | ||
clay_libgit2.h | ||
README.md |
Writing Clay tests for libgit2
For information on the Clay testing framework and a detailed introduction please visit:
https://github.com/tanoku/clay
-
Write your modules and tests. Use good, meaningful names.
-
Make sure you actually build the tests by setting:
cmake -DBUILD_CLAY=ON build/
-
Test:
./build/libgit2_clay
-
Make sure everything is fine.
-
Send your pull request. That's it.