зеркало из https://github.com/microsoft/git.git
Merge branch 'sg/commit-slab-clarify-peek'
In-code comment update. * sg/commit-slab-clarify-peek: commit-slab: clarify slabname##_peek()'s return value
This commit is contained in:
Коммит
38afd2d1ad
|
@ -24,7 +24,12 @@
|
|||
* - int *indegree_peek(struct indegree *, struct commit *);
|
||||
*
|
||||
* This function is similar to indegree_at(), but it will return NULL
|
||||
* until a call to indegree_at() was made for the commit.
|
||||
* if the location to store the data associated with the given commit
|
||||
* has not been allocated yet.
|
||||
* Note that the location to store the data might have already been
|
||||
* allocated even if no indegree_at() call has been made for that commit
|
||||
* yet; in this case this function returns a pointer to a
|
||||
* zero-initialized location.
|
||||
*
|
||||
* - void init_indegree(struct indegree *);
|
||||
* void init_indegree_with_stride(struct indegree *, int);
|
||||
|
|
Загрузка…
Ссылка в новой задаче