@@ -426,7 +426,7 @@ GIT_EXTERN(int) git_config_get_string_buf(git_buf *out, const git_config *cfg, c
426426 * interested in. Use NULL to indicate all
427427 * @param callback the function to be called on each value of the variable
428428 * @param payload opaque pointer to pass to the callback
429- * @return non-zero to terminate the iteration .
429+ * @return 0 or an error code .
430430 */
431431GIT_EXTERN (int ) git_config_get_multivar_foreach (const git_config * cfg , const char * name , const char * regexp , git_config_foreach_cb callback , void * payload );
432432
@@ -442,7 +442,7 @@ GIT_EXTERN(int) git_config_get_multivar_foreach(const git_config *cfg, const cha
442442 * @param name the variable's name
443443 * @param regexp regular expression to filter which variables we're
444444 * interested in. Use NULL to indicate all
445- * @return non-zero to terminate the iteration .
445+ * @return 0 or an error code .
446446 */
447447GIT_EXTERN (int ) git_config_multivar_iterator_new (git_config_iterator * * out , const git_config * cfg , const char * name , const char * regexp );
448448
@@ -750,7 +750,7 @@ GIT_EXTERN(int) git_config_parse_path(git_buf *out, const char *value);
750750 * @param regexp regular expression to match against config names (can be NULL)
751751 * @param callback the function to call on each variable
752752 * @param payload the data to pass to the callback
753- * @return non-zero to terminate the iteration .
753+ * @return 0 or an error code .
754754 */
755755GIT_EXTERN (int ) git_config_backend_foreach_match (
756756 git_config_backend * backend ,
0 commit comments