|
313908f9
|
2019-11-06T11:08:49
|
|
examples: normalize decls and usage of options structs
|
|
4a4ad2bc
|
2019-11-06T11:08:45
|
|
examples: add comments to add.c
|
|
d4a593ef
|
2019-11-06T11:17:52
|
|
examples: modernize add code
|
|
cd5e33fb
|
2019-11-06T11:08:23
|
|
global: DRY includes of assert.h
|
|
6cf47726
|
2019-01-15T13:54:18
|
|
examples/add: add explanatory comments and reformat
|
|
ead10785
|
2019-01-24T11:31:49
|
|
examples: create common lg2 executable
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.
|
|
fc293919
|
2016-08-16T11:43:10
|
|
examples: add: fix type casting warning
|
|
799e22ea
|
2014-10-23T17:34:41
|
|
Rename git_threads_ to git_libgit2_
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.
|
|
300f4412
|
2014-02-25T11:56:11
|
|
- BUGFIX #2133 (@fourplusone) in smart_protocol.c
- 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
|
|
6cb831bd
|
2013-11-02T05:33:26
|
|
Replace copyright topmatter in example files
|
|
dbfd2833
|
2013-10-30T07:21:12
|
|
add.c: proper frontmatter
|
|
e568bedf
|
2013-10-30T06:08:54
|
|
add.c example: deploy helpers, reorg
|
|
0c52b204
|
2013-09-09T11:07:17
|
|
Make work if built with threading enabled
|
|
04fd2665
|
2013-09-04T18:44:12
|
|
Move statement after declarations in add example.
|
|
b2395a82
|
2013-09-04T18:49:10
|
|
Only use callbacks when -n or -v in add example.
|
|
e8fa14d3
|
2013-09-03T19:11:50
|
|
Supported options information in add example.
|
|
9a0e42c6
|
2013-09-04T18:43:14
|
|
Remove unnececery arguments priting in add example.
|
|
813937ce
|
2013-09-04T18:42:47
|
|
Better usage info in add example.
|
|
24d23220
|
2013-09-04T18:34:03
|
|
Add -u option to add example.
|
|
62020aa8
|
2013-09-02T02:01:40
|
|
Adding add example.
|