summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-31Move CreateTag to the tags collectionCarlos Martín Nieto
2015-07-31Add more support for tagsCalin Seciu
Implement support for the following libgit2 functions: - 'git_tag_list' and 'git_tag_list_match' - 'git_tag_foreach' - 'git_tag_create_lightweight'
2015-07-31Add TagsCollectionCalin Seciu
2015-07-29Merge pull request #230 from clns/tree-entry-by-idCarlos Martín Nieto
Find tree entry by id
2015-07-24Find tree entry by idCalin Seciu
Add support for 'git_tree_entry_byid'.
2015-07-24Merge pull request #228 from clns/ref-additionsCarlos Martín Nieto
Reference additions
2015-07-24Merge pull request #219 from shurcooL/next-fix-HandleList-Track-gc-issueCarlos Martín Nieto
[next] Prevent slot int variable from being GCed.
2015-07-24Add ReferenceIsValidName()Calin Seciu
2015-07-24Add check if reference is a noteCalin Seciu
2015-07-10Bring back CheckoutForceCarlos Martín Nieto
This was mistakenly deleted when the SafeCreate was replaced with RecreateMissing.
2015-07-06Prevent slot int variable from being GCed.Dmitri Shuralyov
Before this change, there were no users of slot int variable in the Go world (just a pointer to it that ended up in C world only), so Go's garbage collector would free it and its value could not retrieved later (once a pointer to it comes back to Go world from C world). Keep a pointer to it in the Go world so that does not happen. Fixes #218.
2015-07-01Merge remote-tracking branch 'upstream/master' into nextCarlos Martín Nieto
2015-07-01Adjust styleCarlos Martín Nieto
2015-07-01Merge commit 'refs/pull/198/head' of github.com:libgit2/git2goCarlos Martín Nieto
2015-07-01Merge commit 'refs/pull/174/head' of github.com:libgit2/git2goCarlos Martín Nieto
2015-06-30Submodule: use the Repository constructorCarlos Martín Nieto
2015-06-30Clone: test we clone something usable and fix constructorCarlos Martín Nieto
Clone was still trying to do its own initialisation, which was missing all of the namespacing changes.
2015-06-30Repository: move to use an actual constructorCarlos Martín Nieto
This should further reduce the changes of the creation of the object going badly.
2015-06-30Merge pull request #216 from libgit2/diffCarlos Martín Nieto
Add blob diffing
2015-06-29Add DiffBlobsCarlos Martín Nieto
This lets you diff two arbitrary blobs with arbitrary names.
2015-06-29diff: remove unnecessary args to Hunk and Line ctorsCarlos Martín Nieto
2015-06-28Update to libgit2 fb84cde8Carlos Martín Nieto
2015-06-28travis: make the script executableCarlos Martín Nieto
2015-06-28travis: don't install libgit2 for 'next' branchCarlos Martín Nieto
We have our own libgit2 in a submodule, so this is unnecessary. While in the area, update which version of libgit2 would be downloaded and remove unnecessary CMake flags.
2015-06-28travis: allow containerized buildsCarlos Martín Nieto
These builds should be quicker and faster. We don't need sudo, so write that down for Travis to move us to these builds.
2015-06-28Merge remote-tracking branch 'upstream/master' into nextCarlos Martín Nieto
Conflicts: branch.go
2015-06-28Create a NotesCollection for managing notesCarlos Martín Nieto
As with the others, move these methods into their own namespace.
2015-06-28Create a ReferenceCollection for managing referencesCarlos Martín Nieto
As with the other commits, this clears up the clutter in naming and around the Repository's API.
2015-06-28Create a SubmoduleCollection for managing submodulesCarlos Martín Nieto
Similarly to RemoteCollection, this allows us to namespace the submodule operations much more concisely and removes API on the Repository.
2015-06-28Create a RemoteCollection for managing remotesCarlos Martín Nieto
Instead of making the 'Remote' part of the function calls, create a collection object which serves to namespace the operations for the remotes.
2015-06-28Get rid of Owner() on Remote and SubmdouleCarlos Martín Nieto
These are inherently unsafe. The underlying pointer might get released at any moment.
2015-06-28Update to libgit2 fa39975Carlos Martín Nieto
2015-06-23Merge pull request #212 from libgit2/remote-handleCarlos Martín Nieto
Make the network code use handles
2015-06-10Make the network code use handlesCarlos Martín Nieto
This wasn't ported together with the rest, but it does exhibit the same issues, so let's port it over now.
2015-06-09Merge pull request #211 from shinningstar/masterCarlos Martín Nieto
Free reference resource allocated by libgit2 during go garbage collecting
2015-06-08Free reference resource allocated by libgit2 during go garbage collectingshinningstar
2015-06-08Merge pull request #210 from michaeledgar/masterCarlos Martín Nieto
Add error code matching GIT_EAUTH for authentication failures
2015-06-08Update to libgit2 b6011e29Carlos Martín Nieto
2015-06-08Merge remote-tracking branch 'origin/master' into nextCarlos Martín Nieto
2015-06-07Add error code matching GIT_EAUTH for authentication failuresMike Edgar
2015-05-30Fix test error messagestaylorchu
2015-05-30Merge pull request #196 from pks-t/pointer-indirectionCarlos Martín Nieto
[WIP/RFC] Pointer indirection
2015-05-22diff: only untrack notify payload when it is setPatrick Steinhardt
2015-05-22tree: use correct C callback signaturePatrick Steinhardt
2015-05-22handles: do not store handles by uintptrPatrick Steinhardt
If we store values by uintptrs the GC may try to inspect their values when it kicks in. As the pointers are most likely invalid, this will result in an invalid pointer dereference, causing the program to panic. We can fix this by storing values by an int index value instead, returning pointers to those indices as handles instead.
2015-05-22handles: panic when we cannot retrieve handle dataPatrick Steinhardt
2015-05-22packbuilder: use HandleList for C function callbacks.Patrick Steinhardt
2015-05-22blob: use HandleList for C function callbacks.Patrick Steinhardt
2015-05-22diff: use HandleList for C function callbacks.Patrick Steinhardt
2015-05-22handles: print pointer handle on panic.Patrick Steinhardt