summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* lol namespacesvmg/namespacesVicent Marti2013-04-301-0/+22
|
* object: Explicitly define helper API methods for all obj typesVicent Marti2013-04-301-16/+4
|
* Merge pull request #1518 from arrbee/export-oid-comparisonVicent Martí2013-04-304-63/+40
|\ | | | | Remove most inlines from the public API
| * Some cleanupsRussell Belfer2013-04-291-9/+0
| | | | | | | | | | Removed useless prototype and renamed object typecast functions declaration macro.
| * Standardize cast versions of git_object accessorsRussell Belfer2013-04-293-50/+29
| | | | | | | | | | | | This removes the GIT_INLINE versions of the simple git_object accessors and standardizes them with a helper macro in src/object.h to build the function bodies.
| * Make git_oid_cmp public and add git_oid__cmpRussell Belfer2013-04-291-13/+1
| |
| * Add git_oid_strcmp and use it for git_oid_streqRussell Belfer2013-04-291-0/+10
| | | | | | | | | | | | | | | | Add a new git_oid_strcmp that compares a string OID with a hex oid for sort order, and then reimplement git_oid_streq using it. This actually should speed up git_oid_streq because it only reads as far into the string as it needs to, whereas previously it would convert the whole string into an OID and then use git_oid_cmp.
| * Introduce git_oid_compare, an exported oid cmpRussell Belfer2013-04-291-0/+9
| |
* | remote: add resfpec list accessorsCarlos Martín Nieto2013-04-302-0/+27
| | | | | | | | | | | | Bring back a way of acessing the git_refspec* from a remote. Closes #1514
* | refspec: add direction accessorCarlos Martín Nieto2013-04-301-0/+8
| |
* | Parse shorthand refspecs as validCarlos Martín Nieto2013-04-281-0/+7
|/ | | | | Relax the ONELEVEL ref naming rules so the refspec parsing code can ask for 'master' to be considered valid.
* docs: formatting fixesCarlos Martín Nieto2013-04-243-26/+34
|
* repo: Add `git_repository__cleanup`Vicent Marti2013-04-241-0/+14
|
* Merge pull request #1502 from nvloff/remote_refspecs_minor_fixesVicent Martí2013-04-231-9/+0
|\ | | | | Remote refspecs minor fixes
| * remove git_remote_pushspecNikolai Vladimirov2013-04-231-9/+0
| |
* | Merge pull request #1498 from libgit2/vmg/atomic64Vicent Martí2013-04-231-1/+2
|\ \ | | | | | | 64 bit atomic operations and shared cache memory usage
| * | opts: Add getter for cached memoryvmg/atomic64Vicent Marti2013-04-231-1/+2
| | |
* | | Merge pull request #1501 from xavier-l/packbuilder-commitVicent Martí2013-04-231-0/+12
|\ \ \ | |_|/ |/| | Added function to insert commit into pack
| * | Added function to insert commit into packXavier L2013-04-231-0/+12
| |/
* | Document the odb backend constructorsCarlos Martín Nieto2013-04-231-1/+33
|/
* cache: Max cache size, and evict when the cache fills upvmg/new-cacheVicent Marti2013-04-221-1/+2
|
* Global option settersVicent Marti2013-04-221-0/+2
|
* No longer neededVicent Marti2013-04-221-11/+0
|
* Merge pull request #1493 from carlosmn/remotesVicent Martí2013-04-222-10/+41
|\ | | | | Revamp the refspec handling
| * refspec: unify the string and parsed dataCarlos Martín Nieto2013-04-201-0/+8
| | | | | | | | | | | | | | | | It used to be separate as an attempt to make the querying easier, but it didn't work out that way, so put all the data together. Add git_refspec_string() as well to get the original string, which is now stored alongside the independent parts.
| * remote: allow querying for refspecsCarlos Martín Nieto2013-04-201-2/+24
| | | | | | | | | | | | | | | | Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs from the remote and rename the refspec-adding functions to a less silly name. Use this instead of the vector index hacks in the tests.
| * remote: handle multiple refspecsCarlos Martín Nieto2013-04-201-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | A remote can have a multitude of refspecs. Up to now our git_remote's have supported a single one for each fetch and push out of simplicity to get something working. Let the remotes and internal code know about multiple remotes and get the tests passing with them. Instead of setting a refspec, the external users can clear all and add refspecs. This should be enough for most uses, though we're still missing a querying function.
* | Move git_reference__alloc to include/git2/sysRussell Belfer2013-04-213-32/+61
| | | | | | | | | | | | Create a new include/git2/sys/refs.h and move the reference alloc functions there. Also fix some documentation issues and some minor code cleanups.
* | Move refdb_backend to include/git2/sysRussell Belfer2013-04-212-17/+15
| | | | | | | | | | | | | | | | | | This moves most of the refdb stuff over to the include/git2/sys directory, with some minor shifts in function organization. While I was making the necessary updates, I also removed the trailing whitespace in a few files that I modified just because I was there and it was bugging me.
* | Move git_commit_create_from_oids into sys/commit.hRussell Belfer2013-04-212-67/+86
| | | | | | | | | | | | | | | | Actually this renames git_commit_create_oid to git_commit_create_from_oids and moves the API declaration to include/git2/sys/commit.h since it is a dangerous API for general use (because it doesn't check that the OID list items actually refer to real objects).
* | Added git_commit_create_oidJohn Wiegley2013-04-211-0/+20
| |
* | Move some low-level repo fns to include/git2/sysRussell Belfer2013-04-212-70/+92
| |
* | Added git_repository_new functionJohn Wiegley2013-04-211-0/+8
| |
* | Move odb_backend implementors stuff into git2/sysRussell Belfer2013-04-216-168/+185
| | | | | | | | | | | | | | | | | | | | | | | | This moves some of the odb_backend stuff that is related to the internals of an odb_backend implementation into include/git2/sys. Some of the stuff related to streaming I left in include/git2 because it seemed like it would be reasonably needed by a normal user who wanted to stream objects into and out of the ODB. Also, I added APIs for traversing the list of backends so that some of the tests would not need to access ODB internals.
* | Move git_config_backend to include/git2/sysRussell Belfer2013-04-212-50/+72
|/ | | | | | Moving backend implementor objects into include/git2/sys so the APIs can be isolated from the ones that normal libgit2 users would be likely to use.
* alloc doesn't take a refdb; git_refdb_free nicely in the testsEdward Thomson2013-04-192-4/+1
|
* remote: specify what values direction can mean in git_remote_connect()Carlos Martín Nieto2013-04-191-1/+2
| | | | This fixes #1487
* repository: Doc fixVicent Marti2013-04-181-3/+1
|
* Merge pull request #1475 from libgit2/vmg/refs-peelVicent Martí2013-04-172-1/+17
|\ | | | | Allow access to the cached peel data in packed-refs
| * refs: Add `git_referene_target_peel`Vicent Marti2013-04-172-1/+17
| |
* | repository: Add `git_repository_open_bare`vmg/bare-openVicent Marti2013-04-171-0/+15
|/
* libgit2 0.18.0 "Big Ben"Vicent Marti2013-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the last minor release before 1.0preview1. Highlights of this release include: - Branch API - Checkout head, index and tree - Finished clone support - Abstracted reference API to use custom backends - Full diff support - New (faster) packbuilder - Push support - New Remotes API - Revparse support (single and range commits) - Stash support - Submodules support As always, the full changelog is available at: http://libgit2.github.com/libgit2/#p/changelog Yeah, it's a huge release. Releasing stuff sucks. Expect 1.0 and API freeze in less than a month. Your faithful maintainer, vmg Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Update docsVicent Marti2013-04-151-9/+7
|
* git_revision -> git_revspecVicent Marti2013-04-151-2/+2
|
* Is this crazy?Vicent Marti2013-04-151-4/+10
|
* Merge remote-tracking branch 'ben/unified-revparse' into developmentVicent Marti2013-04-151-13/+39
|\
| * Clean up minor detailsBen Straub2013-04-152-4/+2
| |
| * Change git_revparse to output git_object pointersBen Straub2013-04-151-2/+2
| | | | | | | | This will probably prevent many lookup/free operations in calling code.
| * Reintroduce git_revparse_single.Ben Straub2013-04-151-0/+14
| |
| * Deprecate git_revparse_single and _rangelikeBen Straub2013-04-092-26/+1
| |