Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - BUGFIX #2133 (@fourplusone) in smart_protocol.c | Miha | 2014-02-25 | 1 | -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 files | Ben Straub | 2013-11-02 | 1 | -3/+10 |
| | |||||
* | Fix typos | Ben Straub | 2013-11-01 | 1 | -1/+1 |
| | |||||
* | A few formatting changes for rocco | Carlos MartÃn Nieto | 2013-11-01 | 1 | -0/+8 |
| | | | | | I'm not too happy about manually inserting < and > but those get output as html tags otherwise. | ||||
* | cat-file.c example: deploy helpers, reorg | Ben Straub | 2013-10-30 | 1 | -76/+78 |
| | |||||
* | Add cat-file example and increase const use in API | Russell Belfer | 2013-05-16 | 1 | -0/+229 |
This adds an example implementation that emulates git cat-file. It is a convenient and relatively simple example of getting data out of a repository. Implementing this also revealed that there are a number of APIs that are still not using const pointers to objects that really ought to be. The main cause of this is that `git_vector_bsearch` may need to call `git_vector_sort` before doing the search, so a const pointer to the vector is not allowed. However, for tree objects, with a little care, we can ensure that the vector of tree entries is always sorted and allow lookups to take a const pointer. Also, the missing const in commit objects just looks like an oversight. |