summaryrefslogtreecommitdiff
path: root/object.go
AgeCommit message (Collapse)Author
2014-06-09add support for annotated tagsFrank Benkstein
2014-05-26Keep a pointer to the repository in the objects and referencesCarlos Martín Nieto
Otherwise, the garbage collector might decide it's a good idea to throw away the repository instance while the C object still has a pointer to it. Hilarity ensues.
2014-05-25Give Object and Reference an Onwer accessorCarlos Martín Nieto
This reduces the need to carry around a pointer to the repository as well as the objects.
2014-04-01Adjust to Go tip changesCarlos Martín Nieto
It does not like breaking aliasing rules, so let's keep a casted pointer for when libgit2 wants that.
2013-11-14ObjectType: capitalise TagCarlos Martín Nieto
2013-11-14Don't repeat the pkg-config lineCarlos Martín Nieto
This is only needed once per package. Having it on every file makes the build system ask about it n times, which is silly.
2013-09-12Camel-case constantsCarlos Martín Nieto
Make the names look more like what you'd expect from Go.
2013-09-11Object types are constantsCarlos Martín Nieto
Define the object type values as constants
2013-04-25Merge pull request #16 from Merovius/pointerrecvVicent Martí
Give gitObject.Free a pointer-receiver
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-18Ok, now with shared base objectVicent Marti
2013-04-16Take 2 on polymorphismVicent Marti