Skip to content

Commit 70a182c

Browse files
authored
Merge pull request libgit2#6320 from libgit2/ethomson/config-docs
config: update config entry iteration lifecycle
2 parents 96c6117 + 1ed1e19 commit 70a182c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/git2/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,8 @@ GIT_EXTERN(int) git_config_multivar_iterator_new(git_config_iterator **out, cons
449449
/**
450450
* Return the current entry and advance the iterator
451451
*
452-
* The pointers returned by this function are valid until the iterator
453-
* is freed.
452+
* The pointers returned by this function are valid until the next call
453+
* to `git_config_next` or until the iterator is freed.
454454
*
455455
* @param entry pointer to store the entry
456456
* @param iter the iterator

0 commit comments

Comments
 (0)