File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ The public error API
118118 Otherwise this should return a `git_error` object indicating the class
119119 of error and the error message that was generated by the library.
120120 Do not use this function unless the prior call to a libgit2 API
121- returned an error, as it can give misleading results.
121+ returned an error, as it can otherwise give misleading results.
122122 libgit2's error strings are not cleared aggressively,
123123 and this function may return an error string that reflects a prior error,
124124 possibly even reflecting internal state.
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ typedef enum {
113113 *
114114 * The default behaviour of this function is to return NULL if no previous error has occurred.
115115 * However, libgit2's error strings are not cleared aggressively, so a prior
116- * (unrelated) error may be returned. This can avoided by only calling
116+ * (unrelated) error may be returned. This can be avoided by only calling
117117 * this function if the prior call to a libgit2 API returned an error.
118118 *
119119 * @return A git_error object.
You can’t perform that action at this time.
0 commit comments