summaryrefslogtreecommitdiff
path: root/src/libgit2.c
Commit message (Collapse)AuthorAgeFilesLines
* libgit2: provide init_count of the libraryEdward Thomson2020-12-091-0/+5
| | | | | | A function to provide the initialization count of the library; this is subject to race conditions but is useful for a naive determination as to whether the library has been initialized or not.
* threads: rename thread files to thread.[ch]Edward Thomson2020-12-061-1/+1
|
* buffer: git_buf_sanitize should return a valueEdward Thomson2020-11-251-22/+29
| | | | | | `git_buf_sanitize` is called with user-input, and wants to sanity-check that input. Allow it to return a value if the input was malformed in a way that we cannot cope.
* win32: consolidate leak checking initializationEdward Thomson2020-11-211-0/+7
| | | | | Move leak check initialization into git_win32_leakcheck_global_init, and call it on library initialization.
* win32: "crtdbg" is now "leakcheck"Edward Thomson2020-11-211-1/+0
| | | | | msvc crtdbg is a mouthfull that is not particularly indicative of what it does. Let's rename it to "win32 leakcheck".
* Move libgit2 settings into libgit2.cethomson/initEdward Thomson2020-10-111-9/+318
|
* Rename global.c to libgit2.cEdward Thomson2020-10-111-0/+52
Now that we've identified that our global settings really aren't global at all, and refactored the library to match that, change global.c to libgit2.c, which is especially nice since the prefix of the functions matches the filename.