You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reading the API docs and, maybe I am totally off here, but it looks like there are variable names instead of the valid options in some of the docs.
IE: GIT_DIRECTION_FETCH and GIT_DIRECTION_PUSH are supposed to be numbers, but they are not noted anywhere.
Activity
tbranyen commentedon May 3, 2014
They are constants. I went to the libgit2 GitHub and searched for them:
https://github.com/libgit2/libgit2/blob/e5bdf82976c631a5b4cc36d8bfad61de609d7802/include/git2/net.h#L30-L33
Looks like you can use 0 or 1 depending on the direction. Once I get the net file included those should be present in the code.
tbranyen commentedon May 16, 2014
This depends more on this issue being resolved: #171
maxkorp commentedon Dec 2, 2014
This is an issue with the website, gonna create an issue over there.