Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples: normalize decls and usage of options structs | Etienne Samson | 2019-11-06 | 1 | -4/+4 |
| | |||||
* | Resolve static check warnings in example code | Scott Furry | 2019-06-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Using cppcheck on libgit2 sources indicated two warnings in example code. merge.c was reported as having a memory leak. Fix applied was to `free()` memory pointed to by `parents`. init.c was reported as having a null pointer dereference on variable arg. Function 'usage' was being called with a null variable. Changed supplied parameter to empty string. | ||||
* | examples: create common lg2 executable | Patrick Steinhardt | 2019-02-15 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | Inside of our networking example code, we have a git2 executable that acts as an entry point to all the different network examples. As such, it is kind of the same like the normal git(1) executable in that it simply arbitrates to the respective subcommands. Let's extend this approach and merge all examples into a single standalone lg2 executable. Instead of building an executable for all the existing examples we have, we now bundle them all inside of the lg2 one and let them be callable via subcommands. In the process, we can get rid of duplicated library initialization, deinitialization and repository discovery code. Instead of having each subcommand handle these on its own, we simply do it inside of the single main function now. | ||||
* | Rename git_threads_ to git_libgit2_ | Carlos MartÃn Nieto | 2014-11-08 | 1 | -2/+2 |
| | | | | | | This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now. | ||||
* | Replace copyright topmatter in example files | Ben Straub | 2013-11-02 | 1 | -3/+10 |
| | |||||
* | Format comments for use with docco | Ben Straub | 2013-10-31 | 1 | -21/+30 |
| | |||||
* | init.c example: deploy more helpers | Ben Straub | 2013-10-30 | 1 | -7/+4 |
| | |||||
* | init example: deploy helpers, reorg | Ben Straub | 2013-10-30 | 1 | -127/+122 |
| | |||||
* | Improve isolation of new test from user environs | Russell Belfer | 2013-08-16 | 1 | -0/+28 |
| | |||||
* | Add example like "git init" | Russell Belfer | 2013-08-16 | 1 | -0/+217 |