summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: remove trailing spacesKirill A. Shutemov2011-07-017-16/+16
| | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
* config: Fix unmatched parameters in docsVicent Marti2011-06-301-1/+1
|
* repository: Make head_detached() and head_orphan() convenience methods ↵nulltoken2011-06-301-2/+2
| | | | accessible to bindings
* config: `foreach` now returns variable values tooVicent Marti2011-06-291-7/+10
|
* refs: Remove duplicate rename methodVicent Marti2011-06-291-15/+1
| | | | `git_reference_rename` now takes a `force` flag
* test: Properly show error messagesVicent Marti2011-06-281-0/+5
|
* repo: Rename HEAD-related methodsVicent Marti2011-06-281-2/+2
|
* Merge pull request #279 from carlosmn/detached-orphanVicent Martí2011-06-281-0/+24
|\ | | | | Add detached and orphan convenience functions
| * Add git_repository_is_detached, git_repository_is_orphanCarlos Martín Nieto2011-06-281-0/+24
| | | | | | | | Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
* | Remove redundant methods from the APIVicent Marti2011-06-284-193/+47
|/ | | | | | | | | | | | | | | A bunch of redundant methods have been removed from the external API. - All the reference/tag creation methods with `_f` are gone. The force flag is now passed as an argument to the normal create methods. - All the different commit creation methods are gone; commit creation now always requires a `git_commit` pointer for parents and a `git_tree` pointer for tree, to ensure that corrupted commits cannot be generated. - All the different tag creation methods are gone; tag creation now always requires a `git_object` pointer to ensure that tags are not created to inexisting objects.
* added defines for Haiku in types.hAnkur Sethi2011-06-231-0/+5
|
* libgit2 v0.13.0 "Watermelon Wheat"v0.13.0Vicent Marti2011-06-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On this rascalicious minor release of libgit2: - We've dropped support for Waf. All the build process is now managed through CMake for all platforms. - We've removed the custom backends from the repository. You can now find a collection of Custom backends on their own repo, under the libgit2 org. Including MySQL and Memcache backends, courtesy of the beardful Brian Lopez. - We are rocking a new documentation system, Docurium, courtesy of the insightful Scott Chacon. Check out the details for each single method in our external API and the way they've evolved through the history of the library: http://libgit2.github.com/libgit2/ This will certainly come in handy if you are developing bindings for the library. - You can now check the linked version of the library from your application or bindings, using `git_libgit2_version`. - We have a gazillion new features, courtesy of our invaluable collaborators, including: * Support for Config files! * Support for prefix-only reads on the ODB * Repository discovery * Support for the Unmerged Entries index extension * Better Windows support * 30.000 bug fixes (actual number may be lower) Thanks as always to everyone who makes this project possible. Here's the full list of all external API changes: - git_index_open_bare - git_index_open_inrepo - git_odb_backend_sqlite - git_oid_mkraw - git_oid_mkstr - git_reference_listcb - git_repository_workdir = git_index_get = git_repository_path = git_tree_entry_byindex + git_blob_lookup_prefix + git_commit_lookup_prefix + git_config_add_file + git_config_add_file_ondisk + git_config_file__ondisk + git_config_find_global + git_config_foreach + git_config_free + git_config_get_bool + git_config_get_int + git_config_get_long + git_config_get_string + git_config_new + git_config_open_global + git_config_open_ondisk + git_config_set_bool + git_config_set_int + git_config_set_long + git_config_set_string + git_index_entry_stage + git_index_entrycount_unmerged + git_index_get_unmerged_byindex + git_index_get_unmerged_bypath + git_index_open + git_object_lookup_prefix + git_odb_read_prefix + git_oid_fromraw + git_oid_fromstr + git_oid_ncmp + git_reference_foreach + git_repository_config + git_repository_discover + git_repository_is_bare + git_tag_lookup_prefix + git_tree_entry_type + git_tree_lookup_prefix
* odb: Add GIT_EPASSTHROUGHVicent Marti2011-06-191-0/+3
| | | | | Allows a custom user backend to passthrough one of the callbacks. Used for e.g. caching backends.
* config: Fix API docsVicent Marti2011-06-191-2/+2
|
* config: Bring back `git_config_open_global`Vicent Marti2011-06-181-1/+33
| | | | Scott commands, I obey.
* config: Cleanup external APIVicent Marti2011-06-182-17/+65
| | | | | Do not mess with environment variables anymore. The new external API has more helper methods, and everything is explicit.
* Add git_repository_config APICarlos Martín Nieto2011-06-171-0/+10
| | | | | | | This function puts the global and repository configurations in one git_config object and gives it to the user. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
* Update documentationVicent Marti2011-06-168-27/+31
| | | | Fix all the missmatched arguments in the docs
* oid: Uniformize ncmp methodsVicent Marti2011-06-161-4/+11
| | | | Drop redundant methods. The ncmp method is now public
* oid: Rename methodsVicent Marti2011-06-161-2/+2
| | | | | Yeah. Finally. Fuck the old names, this ain't POSIX and they don't make any sense at all.
* refs: Rename git_referece_listcb to _foreachVicent Marti2011-06-161-4/+3
| | | | Same name as `git_config_foreach`
* Add method to get the compiled version of the libVicent Marti2011-06-161-0/+10
|
* Merge pull request #261 from Romain-Geissler/discovery-path-v2Vicent Martí2011-06-152-3/+23
|\ | | | | Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.
| * Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.Romain Geissler2011-06-152-3/+23
| | | | | | | | | | GIT_PATH_LIST_SEPARATOR and GIT_PATH_MAX are made public so that it's can be used by a client.
* | fix gid_ misspellingScott Chacon2011-06-141-2/+2
| |
* | Remove custom backendsVicent Marti2011-06-141-2/+0
| | | | | | | | | | All the custom backend code will be moved to a separate project, together with the new MySQL backend.
* | Merge pull request #216 from glesserd/developmentVicent Martí2011-06-081-1/+3
|\ \ | | | | | | git_tag_create{,_o,_frombuffer} correction and improvement
| * | Change a dirty indentationDavid Glesser2011-06-041-1/+1
| | |
| * | Set the oid when a tag already exists.David Glesser2011-05-301-1/+3
| | | | | | | | | | | | | | | When a tag already exists, it can be useful to directly have the oid of the existed tag, just after trying to add it.
* | | config: explain the cfg and file relationship betterCarlos Martín Nieto2011-06-071-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | It's not clear how git_config and git_config_file relate to one another. Be more explicit about their relationship in the function documentation. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
* | | config: update the git_config_add_file documentationCarlos Martín Nieto2011-06-071-2/+2
| | | | | | | | | | | | Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
* | | threads: Cleanup TLS declarationsVicent Marti2011-06-071-30/+37
| | | | | | | | | | | | This time for good.
* | | Revert "threads: Fix TLS declarations"Vicent Marti2011-06-071-37/+30
| | | | | | | | | | | | This commit uploaded an old broken test. Oops!
* | | Merge pull request #240 from Romain-Geissler/tree-object-typeVicent Martí2011-06-061-0/+8
|\ \ \ | | | | | | | | Tree: Added a function that returns the type of a tree entry.
| * | | Tree: Added a function that returns the type of a tree entry.Romain Geissler2011-06-061-0/+8
| | | |
* | | | Merge pull request #239 from pegonma/oid_prefixVicent Martí2011-06-064-0/+69
|\ \ \ \ | | | | | | | | | | Search objects of different types given OID prefix
| * | | | Added methods to search objects of different typesMarc Pegon2011-06-064-0/+69
| |/ / / | | | | | | | | | | | | given an OID prefix.
* | | | Merge pull request #238 from pegonma/git_oid_ncmpVicent Martí2011-06-061-1/+1
|\ \ \ \ | | | | | | | | | | Better name for git_oid_match
| * | | | Renamed git_oid_match to git_oid_ncmp.Marc Pegon2011-06-061-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | As suggested by carlosmn, git_oid_ncmp would probably be a better name than git_oid_match, for it does the same as git_oid_cmp but only up to a certain amount of hex digits.
* | | | Merge pull request #234 from Romain-Geissler/entry-count-API-uniformisationVicent Martí2011-06-062-4/+16
|\ \ \ \ | | | | | | | | | | [Tree | Index] API uniformisation
| * | | | Index: API uniformisation: Use unsigned int for all index number.Romain Geissler2011-06-051-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Feature Added: Search an unmerged entry by path (git_index_get_unmerged renamed to git_index_get_unmerged_bypath) or by index (git_index_get_unmerged_byindex).
| * | | | Tree: API uniformasation: Use unsigned int for all index number.Romain Geissler2011-06-051-2/+2
| | | | |
* | | | | threads: Fix TLS declarationsVicent Marti2011-06-071-30/+37
| |/ / / |/| | | | | | | | | | | | | | | Cleanup the thread-utils file. Do not define TLS if libgit2 is not threadsafe.
* | | | repository: Export all internal pathsVicent Marti2011-06-041-9/+18
| | | |
* | | | Merge pull request #227 from Romain-Geissler/discovery-path-v2Vicent Martí2011-06-031-0/+28
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| Discovery path v2
| * | Repository: Added the git_repository_discover function that finds by itself ↵Romain Geissler2011-06-041-0/+28
| | | | | | | | | | | | the git directory that manage a given directory path.
* | | index: Add `git_index_entry_stage` methodVicent Marti2011-06-031-0/+12
|/ / | | | | | | As suggested by Romain-Geissler
* | short-oid: CleanupVicent Marti2011-06-013-6/+14
| |
* | Changed return value of git_oid_match to be consistent with the other ↵Marc Pegon2011-06-011-1/+1
| | | | | | | | compare methods (0 means oids match). Added method to compare prefixes of hex formatted oids.
* | Added a GIT_OID_MINPREFIXLEN constant to define the minimum length allowed ↵Marc Pegon2011-06-013-5/+10
| | | | | | | | for oid prefixes (set to 4, like in git). Consequently updated some object lookup methods and their documentation.