| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | strarray: we should `dispose` instead of `free` | Edward Thomson | 2020-06-01 | 1 | -1/+1 |
| | | | | | | | We _dispose_ the contents of objects; we _free_ objects (and their contents). Update `git_strarray_free` to be `git_strarray_dispose`. `git_strarray_free` remains as a deprecated proxy function. | ||||
| * | Merge pull request #5283 from pks-t/pks/example-checkout-remote-branch | Patrick Steinhardt | 2019-12-13 | 1 | -5/+78 |
| |\ | | | | | examples: checkout: implement guess heuristic for remote branches | ||||
| | * | examples: checkout: implement guess heuristic for remote branches | Patrick Steinhardt | 2019-10-25 | 1 | -5/+78 |
| | | | |||||
| * | | examples: keep track of whether we processed a "--" arg | Etienne Samson | 2019-11-06 | 1 | -6/+2 |
| | | | |||||
| * | | global: DRY includes of assert.h | Etienne Samson | 2019-11-06 | 1 | -1/+0 |
| |/ | |||||
| * | Fix example checkout to forbid rather than require -- | David Turner | 2019-07-24 | 1 | -1/+1 |
| | | | | | | | Make the example program for checkout follow git syntax, where "--" indicates a file. This was likely just a strcmp return value confusion. | ||||
| * | examples: create common lg2 executable | Patrick Steinhardt | 2019-02-15 | 1 | -14/+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. | ||||
| * | errors: remove giterr usage in examples | Edward Thomson | 2019-01-22 | 1 | -5/+5 |
| | | |||||
| * | examples: add checkout | Etienne Samson | 2018-07-17 | 1 | -0/+235 |
