Standard libgit2 error constants attached to Error object.
An outdated example fixed.
Standard libgit2 error constants added to Error object
Whats the reason for this change here? Did the existing implementation not work as expected?
Both lines does not work! I should send another pull request. it should be:
master.lookup( repo , .....);
lookupRef does exists and also repo.lookup needs an extra argument.
Okay lets try and figure this out before I merge this request. I don't think another pull req is necessary. Lets just add commits to this branch.
Sorry But I pushed another commit to fix this example.
@milani thats fine that commit showed up in this pull as well.
Excuse me for asking a likely obvious question - this will make the actual error available on the error object like (?):
Thanks for this!
Would you please update the tests to include some that cover these changes? Then we can look at merging this in.
Sorry but this is for a year ago. I can not remember the details:)