summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-05-22odb: use HandleList for C function callbacks.Patrick Steinhardt
2015-05-22index: use HandleList for C function callbacks.Patrick Steinhardt
2015-05-22handles: start slot indices with 1Patrick Steinhardt
Using 0 as the first slot indice leads to not being able to differentiate between a handle to the first element or a NULL-handle. As current code may check whether the pointer is NULL, change the first indice to be 1 instead.
2015-05-22submodule: use HandleList for C function callbacksPatrick Steinhardt
2015-05-22tree: use HandleList for C function callbacks.Patrick Steinhardt
2015-05-22handles: correctly initialize all membersPatrick Steinhardt
2015-05-22Introduce an indirection layer for pointersCarlos Martín Nieto
As the Go runtime can move stacks at any point and the C code runs concurrently with the rest of the system, we cannot assume that the payloads we give to the C code will stay valid for any particular duration. We must therefore give the C code handles which we can then look up in our own list when the callbacks get called.
2015-05-19Merge pull request #202 from libgit2/index-basicsCarlos Martín Nieto
Add a few basic index operations
2015-05-19Index: Add Path() accessorCarlos Martín Nieto
2015-05-19Index: Add OpenIndexCarlos Martín Nieto
This lets you persist an index at an arbitrary location.
2015-05-19Index: Add ReadTree()Carlos Martín Nieto
2015-04-30Add method to check if repo is detachedFernando Oliveira
2015-04-27Merge pull request #179 from schani/masterCarlos Martín Nieto
Additions
2015-04-24Merge pull request #197 from pks-t/test-cleanupsCarlos Martín Nieto
tests: always clean up temporary repository dirs
2015-04-24tests: always clean up temporary repository dirsPatrick Steinhardt
Some test repositories are not correctly removed after the tests did run. Fix by introducing a function that is to be used for cleaning up temporary test repositories.
2015-04-21Merge pull request #195 from shurcooL/next-ignore-scriptCarlos Martín Nieto
Avoid installing script binary to user's $GOPATH/bin.
2015-04-18Update to libgit2 4c02d3937Carlos Martín Nieto
2015-04-16Avoid installing script binary to user's $GOPATH/bin.Dmitri Shuralyov
2015-04-03Merge pull request #180 from arcamael/masterCarlos Martín Nieto
Add possibiliy of checkout on specific path
2015-04-03Merge pull request #191 from kron4eg/patch-1Carlos Martín Nieto
Test on travis using Go1.4
2015-04-03Test on travis using Go1.4 tooArtiom Di
2015-03-23Add a FIXME.Mark Probst