Merge pull request #3548 from tepas/patch-1

fix git_blob_create_fromchunks documentation
This commit is contained in:
Carlos Martín Nieto 2015-12-16 21:58:47 +01:00
commit 4baf2d8bdf

View File

@ -171,8 +171,8 @@ typedef int (*git_blob_chunk_cb)(char *content, size_t max_length, void *payload
* - The `callback` must return the number of bytes that have been * - The `callback` must return the number of bytes that have been
* written to the `content` buffer. * written to the `content` buffer.
* *
* - When there is no more data to stream, `callback` should return * - When there is no more data to stream, `callback` should return 0.
* 0. This will prevent it from being invoked anymore. * This will prevent it from being invoked anymore.
* *
* - If an error occurs, the callback should return a negative value. * - If an error occurs, the callback should return a negative value.
* This value will be returned to the caller. * This value will be returned to the caller.