Unverified Commit 7edc1c87 by Patrick Steinhardt Committed by GitHub

Merge pull request #4788 from tiennou/doc-fixes

Documentation fixes
parents 2054fe50 a4a028be
...@@ -27,7 +27,8 @@ typedef enum { ...@@ -27,7 +27,8 @@ typedef enum {
GIT_EAMBIGUOUS = -5, /**< More than one object matches */ GIT_EAMBIGUOUS = -5, /**< More than one object matches */
GIT_EBUFS = -6, /**< Output buffer too short to hold data */ GIT_EBUFS = -6, /**< Output buffer too short to hold data */
/* GIT_EUSER is a special error that is never generated by libgit2 /**
* GIT_EUSER is a special error that is never generated by libgit2
* code. You can return it from a callback (e.g to stop an iteration) * code. You can return it from a callback (e.g to stop an iteration)
* to know that it was generated by the callback and not by libgit2. * to know that it was generated by the callback and not by libgit2.
*/ */
......
...@@ -643,7 +643,7 @@ typedef struct { ...@@ -643,7 +643,7 @@ typedef struct {
} git_push_options; } git_push_options;
#define GIT_PUSH_OPTIONS_VERSION 1 #define GIT_PUSH_OPTIONS_VERSION 1
#define GIT_PUSH_OPTIONS_INIT { GIT_PUSH_OPTIONS_VERSION, 0, GIT_REMOTE_CALLBACKS_INIT, GIT_PROXY_OPTIONS_INIT } #define GIT_PUSH_OPTIONS_INIT { GIT_PUSH_OPTIONS_VERSION, 1, GIT_REMOTE_CALLBACKS_INIT, GIT_PROXY_OPTIONS_INIT }
/** /**
* Initialize git_push_options structure * Initialize git_push_options structure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment