| Age | Commit message (Collapse) | Author |
|
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.
|
|
Catch nil error instances
|
|
Implement a reference iterator
|
|
Wrap the reference iterators, and provide a Iter() function to get
them through a channel.
|
|
|
|
Unfortunately libgit2 sometimes returns an error without setting an
error message. Provide an alternative message instead of trying to
dereference nil.
|
|
|
|
|
|
|
|
Some calls like Reference.Target() can return NULL if the reference is
symbolic. Make sure newOidFromC() can handle these situations.
|
|
|