Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples: general: fix remaining warnings | Patrick Steinhardt | 2016-10-10 | 1 | -9/+14 |
| | |||||
* | examples: general: convert C99 comments to C90 comments | Patrick Steinhardt | 2016-10-10 | 1 | -42/+54 |
| | |||||
* | examples: general: extract function demonstrating OID parsing | Patrick Steinhardt | 2016-10-10 | 1 | -26/+44 |
| | |||||
* | examples: general: extract function demonstrating ODB | Patrick Steinhardt | 2016-10-10 | 1 | -51/+77 |
| | |||||
* | examples: general: extract function demonstrating commit writing | Patrick Steinhardt | 2016-10-10 | 1 | -36/+51 |
| | |||||
* | examples: general: extract functions demonstrating object parsing | Patrick Steinhardt | 2016-10-10 | 1 | -131/+194 |
| | |||||
* | examples: general: extract function demonstrating revwalking | Patrick Steinhardt | 2016-10-10 | 1 | -39/+53 |
| | |||||
* | examples: general: extract function demonstrating index walking | Patrick Steinhardt | 2016-10-10 | 1 | -24/+33 |
| | |||||
* | examples: general: extract function demonstrating reference listings | Patrick Steinhardt | 2016-10-10 | 1 | -22/+36 |
| | |||||
* | examples: general: extract function demonstrating config files | Patrick Steinhardt | 2016-10-10 | 1 | -14/+23 |
| | |||||
* | examples: general: use tabs instead of spaces | Patrick Steinhardt | 2016-10-10 | 1 | -457/+457 |
| | |||||
* | Update link to Pro Git's Git internals chapter. | Patrick McKenna | 2016-03-07 | 1 | -3/+2 |
| | |||||
* | Spelling fixes | Will Stamper | 2014-12-04 | 1 | -2/+2 |
| | |||||
* | Rename git_threads_ to git_libgit2_ | Carlos Martín Nieto | 2014-11-08 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | Factor 40 and 41 constants from source. | Ciro Santilli | 2014-09-16 | 1 | -2/+2 |
| | |||||
* | MSVC doesn't like modern code neither | Linquize | 2014-01-27 | 1 | -2/+1 |
| | |||||
* | Update files that reference tests-clar | Ben Straub | 2013-11-14 | 1 | -1/+1 |
| | |||||
* | Replace copyright topmatter in example files | Ben Straub | 2013-11-02 | 1 | -0/+14 |
| | |||||
* | refs: remove the OID/SYMBOLIC filtering | Carlos Martín Nieto | 2013-05-11 | 1 | -1/+1 |
| | | | | | | | | | Nobody should ever be using anything other than ALL at this level, so remove the option altogether. As part of this, git_reference_foreach_glob is now implemented in the frontend using an iterator. Backends will later regain the ability of doing the glob filtering in the backend. | ||||
* | examples: Don't print weird characters | Vicent Marti | 2013-04-10 | 1 | -2/+1 |
| | |||||
* | General example: run against testrepo.git | Ben Straub | 2013-04-04 | 1 | -9/+13 |
| | | | | Fixes #1455 | ||||
* | Add rudimentary error checks and reformat comments | Russell Belfer | 2013-02-15 | 1 | -146/+207 |
| | | | | | | | | | There were a number of functions assigning their return value to `error` without much explanation. I added in some rudimentary error checking to help flesh out the example. Also, I reformatted all of the comments down to 80 cols (and in some cases, slightly updated the wording). | ||||
* | removed other references to api.html | Carlos Scheidegger | 2013-02-06 | 1 | -2/+1 |
| | |||||
* | API updates for index.h | Ben Straub | 2012-11-27 | 1 | -1/+1 |
| | |||||
* | Update diff callback param order | Russell Belfer | 2012-11-27 | 1 | -1/+1 |
| | | | | | | | | This makes the diff functions that take callbacks both take the payload parameter after the callback function pointers and pass the payload as the last argument to the callback function instead of the first. This should make them consistent with other callbacks across the API. | ||||
* | API review / update for tree.h | Russell Belfer | 2012-11-27 | 1 | -2/+2 |
| | |||||
* | Examples: fix reference names | Ben Straub | 2012-11-27 | 1 | -2/+2 |
| | |||||
* | tag: rename git_tag_type to git_tag_target_type | nulltoken | 2012-11-17 | 1 | -1/+1 |
| | |||||
* | index refactoring | Edward Thomson | 2012-10-29 | 1 | -1/+1 |
| | |||||
* | examples: fix config getter param order | Carlos Martín Nieto | 2012-09-30 | 1 | -2/+2 |
| | |||||
* | Fix examples/general.c compilation | Scott J. Goldman | 2012-05-20 | 1 | -1/+1 |
| | | | | git_reference_listall() -> git reference_list() | ||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 1 | -1/+1 |
| | |||||
* | Basic setup for profiling | Russell Belfer | 2012-05-17 | 1 | -1/+1 |
| | | | | | This fixes the examples so they will build and adds a PROFILE option to the CMakeFile that enabled gprof info on non-Windows | ||||
* | examples: use git_repository_odb instead of _database | Carlos Martín Nieto | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | Rename all `_close` methods | Vicent Marti | 2011-11-26 | 1 | -6/+6 |
| | | | | | There's no difference between `_free` and `_close` semantics: keep everything with the same name to avoid confusions. | ||||
* | examples/general.c: update for recent API renaming of git_config_get_int | Brandon Casey | 2011-11-05 | 1 | -2/+2 |
| | | | | git_config_get_int --> git_config_get_int32 | ||||
* | Fixed typo in example Makefile code and slimmed it down more. | David Boyce | 2011-09-15 | 1 | -49/+37 |
| | | | | | | | Reverted signature of git_signature_new. Removed error check wrappers (voted down). Made Makefile work out of the box on Linux and Solaris when standard cmake build instructions for the library are followed. | ||||
* | Changes to allow examples/*.c to compile and link. This required on | David Boyce | 2011-09-12 | 1 | -41/+57 |
| | | | | | | | | | change to the signature of an API function (git_signature_new). Also, the examples/general.c had a lot of unchecked return values which were addresed with a couple of macros. The resulting example still does not work correctly but at least now it fails with an error message rather than not compiling or dumping core. Example runtime issues may be addressed in a later commit. | ||||
* | examples/general: fix misc warnings | Kirill A. Shutemov | 2011-07-05 | 1 | -2/+4 |
| | | | | | | | | examples/general.c:393:25: warning: unused variable ‘reftarget’ [-Wunused-variable] examples/general.c:357:19: warning: unused variable ‘e’ [-Wunused-variable] examples/general.c:444:1: warning: control reaches end of non-void function [-Wreturn-type] Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
* | examples/general: fix warnings on not handled reference type in switch | Kirill A. Shutemov | 2011-07-05 | 1 | -0/+3 |
| | | | | | | | | | examples/general.c:402:5: warning: enumeration value ‘GIT_REF_INVALID’ not handled in switch [-Wswitch] examples/general.c:402:5: warning: enumeration value ‘GIT_REF_PACKED’ not handled in switch [-Wswitch] examples/general.c:402:5: warning: enumeration value ‘GIT_REF_HAS_PEEL’ not handled in switch [-Wswitch] examples/general.c:402:5: warning: enumeration value ‘GIT_REF_LISTALL’ not handled in switch [-Wswitch] Signe-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
* | examples/general: fix git_commit_create_v() arguments type | Kirill A. Shutemov | 2011-07-05 | 1 | -3/+6 |
| | | | | | | general.c:208: warning: passing argument 7 of 'git_commit_create_v' from incompatible pointer type Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
* | cleanup: remove trailing spaces | Kirill A. Shutemov | 2011-07-01 | 1 | -12/+12 |
| | | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
* | config: Update examples | Vicent Marti | 2011-06-18 | 1 | -1/+1 |
| | |||||
* | oid: Rename methods | Vicent Marti | 2011-06-16 | 1 | -8/+8 |
| | | | | | Yeah. Finally. Fuck the old names, this ain't POSIX and they don't make any sense at all. | ||||
* | update examples content to be compilable and up to date | Scott Chacon | 2011-06-15 | 1 | -0/+439 |