Carlos Martín Nieto
a33875f9c5
Packbuilder: compilation fixes
...
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-17 01:55:36 +02:00
Vicent Martí
09424744a1
Merge pull request #25 from carlosmn/error-nil
...
Catch nil error instances
2013-06-13 10:14:31 -07:00
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