summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-23Allow aborting the pack writing operationCarlos Martín Nieto
In case of an error in the writer, the packbuilder will stay around waiting for someone to read from its channel. The state associated with a packbuilder is non-trivial and it will keep a reference to the object, so the GC won't be able to free it. Change the ForEach interface to also return a "stop" channel. Closing the channel or writing into it will cause the first receive clause to act, making the callback to return -1, aborting the operation and ending the goroutine, freeing its hold on the packbuilder.
2013-05-23Implement a reference iteratorCarlos Martín Nieto
Wrap the reference iterators, and provide a Iter() function to get them through a channel.
2013-05-22Support for index-entriesAxel Wagner
2013-05-21Implement Parent()-functions for CommitsAxel Wagner
2013-05-21Implement ShortenOidsAxel Wagner
2013-05-21Implement git_odb_foreachAxel Wagner
2013-05-21Catch nil error instancesCarlos Martín Nieto
Unfortunately libgit2 sometimes returns an error without setting an error message. Provide an alternative message instead of trying to dereference nil.
2013-05-16Merge pull request #23 from Merovius/discoverVicent Martí
Use cbool-helper in Discover()
2013-05-16Merge pull request #19 from Merovius/discoverVicent Martí
Implement git_repository_discover
2013-05-17Use cbool-helper in Discover()Axel Wagner
2013-05-16Merge pull request #18 from Merovius/objecttypeVicent Martí
Use ObjectType in TreeEntry
2013-05-16Merge pull request #21 from Merovius/packbuilderVicent Martí
Implement Packbuilder-Support
2013-05-16Correct some errors from 1da989eAxel Wagner
2013-05-16Add Write(w io.Writer) to packbuilderAxel Wagner
This wraps (*packbuilder).ForEach(), making it possible to write the pack easiliy to a tcp-connection, a HTTP-Body or the like.
2013-05-16Add support for git_packbuilderAxel Wagner
2013-05-14Implement git_repository_discoverAxel Wagner
2013-04-26Merge pull request #17 from Merovius/oidVicent Martí
Implement most of the oid_-functions as Methods
2013-04-26Use ObjectType in TreeEntryAxel Wagner
2013-04-26Implement most of the oid_-functions as MethodsAxel Wagner
2013-04-25Merge pull request #16 from Merovius/pointerrecvVicent Martí
Give gitObject.Free a pointer-receiver
2013-04-25Merge pull request #15 from Merovius/objtypeVicent Martí
Add String() Method to ObjectType
2013-04-25Merge pull request #14 from Merovius/isbareVicent Martí
Wrap git_repository_is_bare
2013-04-26Give gitObject.Free a pointer-receiverAxel Wagner
This is needed to get runtime.SetFinalizer to work, which expects a pointer-receiver. Without it the runtime will crash, when it tries to garbage-collect an object.
2013-04-26Add String() Method to ObjectTypeAxel Wagner
2013-04-26Wrap git_repository_is_bareAxel Wagner
2013-04-18Ok, now with shared base objectVicent Marti
2013-04-16Add @carlosmn's testsVicent Marti
2013-04-16Take 2 on polymorphismVicent Marti
2013-04-12Merge pull request #12 from Merovius/checkoutVicent Martí
Checkout
2013-03-19Implement SetWorkdirAxel Wagner
2013-03-19Implement rudimentary checkout operationsAxel Wagner
2013-03-08Merge pull request #10 from carlosmn/oid-idVicent Martí
TreeEntry: use Id instead of Oid
2013-03-08TreeEntry: use Id instead of OidCarlos Martín Nieto
Name it like The Library and the rest of the bindings.
2013-03-08Merge pull request #9 from carlosmn/nil-oidVicent Martí
Oid: make sure not to dereference a NULL git_oid
2013-03-08Oid: make sure not to dereference a NULL git_oidCarlos Martín Nieto
Some calls like Reference.Target() can return NULL if the reference is symbolic. Make sure newOidFromC() can handle these situations.
2013-03-07Merge pull request #8 from carlosmn/refsVicent Martí
Immutable refs
2013-03-07Delete the whole test dirCarlos Martín Nieto
2013-03-07Add a test for referencesCarlos Martín Nieto
2013-03-07Factor out creating the test repoCarlos Martín Nieto
2013-03-07Wrap immutable refsCarlos Martín Nieto
2013-03-06Merge pull request #7 from carlosmn/blobVicent Martí
Add a couple of missing methods around Blob
2013-03-06Add a couple of missing methods around BlobCarlos Martín Nieto
2013-03-06Merge pull request #6 from carlosmn/signatureVicent Martí
Use time.Time in the Signature struct
2013-03-06Use time.Time in the Signature structCarlos Martín Nieto
2013-03-06Merge pull request #5 from mrb/test_fixVicent Martí
Fixed renamed func in index_test
2013-03-06Fixed renamed func in index_testmrb
2013-03-06Sane names yoVicent Marti
2013-03-06Repository.PathVicent Marti
2013-03-06Properly wrap ODB objectsVicent Marti
2013-03-06Update READMEVicent Marti