mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 15:58:29 +00:00
![]() git_commit_create is supposed to update the given reference "update_ref", but segfaulted in case of a yet to be born reference. Fix it. Signed-off-by: schu <schu-github@schulog.org> |
||
---|---|---|
.. | ||
attr | ||
buf | ||
commit | ||
config | ||
core | ||
index | ||
network | ||
object | ||
odb | ||
refs | ||
repo | ||
status | ||
clar | ||
clar_helpers.c | ||
clar_libgit2.h | ||
README.md |
Writing Clar tests for libgit2
For information on the Clar testing framework and a detailed introduction please visit:
https://github.com/tanoku/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.