mirror of
https://git.proxmox.com/git/libgit2
synced 2026-03-26 18:48:34 +00:00
This adds APIs for querying git attributes. In addition to the new API in include/git2/attr.h, most of the action is in src/attr_file.[hc] which contains utilities for dealing with a single attributes file, and src/attr.[hc] which contains the implementation of the APIs that merge all applicable attributes files. |
||
|---|---|---|
| .. | ||
| attr | ||
| buf | ||
| config | ||
| core | ||
| index | ||
| network | ||
| object | ||
| odb | ||
| repo | ||
| status | ||
| clay | ||
| clay_helpers.c | ||
| clay_libgit2.h | ||
| clay_main.c | ||
| clay.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.
-
Mix the tests:
./clay -vtap . -
Make sure you actually build the tests by setting:
BUILD_CLAY=ON -
Test:
./build/libgit2_clay -
Make sure everything is fine.
-
Send your pull request. That's it.