Commit Graph

59 Commits

Author SHA1 Message Date
Vicent Martí 7823b14266 Merge pull request #26 from carlosmn/ref-iter
Implement a reference iterator
2013-06-13 10:14:09 -07:00
Carlos Martín Nieto 931f187301 Implement a reference iterator
Wrap the reference iterators, and provide a Iter() function to get
them through a channel.
2013-05-23 11:13:42 +02:00
Axel Wagner 535a178afa Implement ShortenOids 2013-05-21 23:03:11 +02:00
Carlos Martín Nieto d824ea415d Catch nil error instances
Unfortunately libgit2 sometimes returns an error without setting an
error message. Provide an alternative message instead of trying to
dereference nil.
2013-05-21 11:51:31 +02:00
Axel Wagner 420cf7f0a6 Use cbool-helper in Discover() 2013-05-17 01:02:33 +02:00
Axel Wagner e1238b5994 Implement git_repository_discover 2013-05-14 21:35:58 +02:00
Axel Wagner f1848e48b8 Implement most of the oid_-functions as Methods 2013-04-26 21:12:27 +02:00
Carlos Martín Nieto 62a16395b1 Oid: make sure not to dereference a NULL git_oid
Some calls like Reference.Target() can return NULL if the reference is
symbolic. Make sure newOidFromC() can handle these situations.
2013-03-08 16:03:49 +01:00
Vicent Marti b1d50b70ea Initial commit 2013-03-05 20:53:04 +01:00