summaryrefslogtreecommitdiff
path: root/git.go
AgeCommit message (Collapse)Author
2013-06-17Packbuilder: compilation fixesCarlos Martín Nieto
Don't name the return values, as they conflict with the names we want inside and the types don't match what we want to have inside. We need them to be two-way channels in the function, and then pass unidirectional references to the different functions.
2013-06-13Merge pull request #25 from carlosmn/error-nilVicent Martí
Catch nil error instances
2013-06-13Merge pull request #26 from carlosmn/ref-iterVicent Martí
Implement a reference iterator
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-21Implement ShortenOidsAxel 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-17Use cbool-helper in Discover()Axel Wagner
2013-05-14Implement git_repository_discoverAxel Wagner
2013-04-26Implement most of the oid_-functions as MethodsAxel Wagner
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-05Initial commitVicent Marti