summaryrefslogtreecommitdiff
path: root/examples/add.c
Commit message (Collapse)AuthorAgeFilesLines
* examples/add: add explanatory comments and reformatEtienne Samson2019-02-151-23/+37
|
* examples: create common lg2 executablePatrick Steinhardt2019-02-151-8/+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.
* examples: add: fix type casting warningPatrick Steinhardt2016-10-101-5/+4
|
* Rename git_threads_ to git_libgit2_Carlos Martín Nieto2014-11-081-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.
* - BUGFIX #2133 (@fourplusone) in smart_protocol.cMiha2014-02-251-1/+1
| | | | | | - added MSVC cmake definitions to disable warnings - general.c is rewritten so it is ansi-c compatible and compiles ok on microsoft windows - some MSVC reported warning fixes
* Replace copyright topmatter in example filesBen Straub2013-11-021-3/+10
|
* add.c: proper frontmatterBen Straub2013-10-301-3/+8
|
* add.c example: deploy helpers, reorgBen Straub2013-10-301-57/+61
|
* Make work if built with threading enabledRussell Belfer2013-09-091-0/+4
|
* Only use callbacks when -n or -v in add example.Krzysztof Adamski2013-09-091-4/+4
|
* Move statement after declarations in add example.Krzysztof Adamski2013-09-091-2/+1
|
* Remove unnececery arguments priting in add example.Krzysztof Adamski2013-09-091-3/+0
|
* Better usage info in add example.Krzysztof Adamski2013-09-091-7/+20
|
* Add -u option to add example.Krzysztof Adamski2013-09-091-2/+11
|
* Supported options information in add example.Krzysztof Adamski2013-09-091-1/+1
|
* Adding add example.Krzysztof Adamski2013-09-091-0/+121