summaryrefslogtreecommitdiff
path: root/examples/network/git2.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: Switch to the nifty argv helpers from commonEtienne Samson2018-01-251-18/+35
|
* Restructured to be nicer exampleTomas Paladin Volf2015-05-021-9/+14
| | | | | Code restructured to better represent best practice when using libgit2.
* Added call to git_libgit2_shutdown()Tomas Paladin Volf2015-04-301-2/+4
| | | Added forgotten call to git_libgit2_shutdown() to the /examples/network/git2.c.
* Rename git_threads_ to git_libgit2_Carlos Martín Nieto2014-11-081-1/+1
| | | | | | 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.
* examples: init the threading systemCarlos Martín Nieto2013-04-231-0/+2
|
* Merge pull request #778 from ben/cloneVicent Martí2012-08-191-0/+1
|\ | | | | Clone
| * Rename example function to avoid name collision.Ben Straub2012-07-311-1/+1
| |
| * Add clone to the network example.Ben Straub2012-07-301-0/+1
| |
* | examples: fix warnings in network/Carlos Martín Nieto2012-07-301-2/+3
|/
* errors: Rename the generic return codesVicent Martí2012-05-181-2/+2
|
* examples: fix an oopsieCarlos Martín Nieto2012-05-111-0/+1
|
* examples: update network examples error handlingCarlos Martín Nieto2012-05-101-2/+5
| | | | Use giterr_last() and make sure it's not NULL.
* Use new error handling in the example network codeCarlos Martín Nieto2012-04-111-1/+1
|
* examples/network/git2.c: exit with proper status, and avoid segfaultBrandon Casey2011-11-061-1/+2
| | | | | | | | This function should exit after printing usage information if too few arguments were specified. Additionally, it should exit with a failure status if the first argument supplied is not one in the internal command list.
* examples/network/git2.c: add newline to usage messageBrandon Casey2011-11-061-1/+1
|
* examples: add ls-remote, fetch and index-pack examplesCarlos Martín Nieto2011-10-031-0/+57
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>