Skip to content

Commit 58697f6

Browse files
committed
Uniformise documentation return code separator
1 parent 51cb439 commit 58697f6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/git2/odb.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ GIT_EXTERN(int) git_odb_open(git_odb **out, const char *objects_dir);
7070
*
7171
* @param odb database to add the backend to
7272
* @param path path to the objects folder for the alternate
73-
* @return 0 on success; error code otherwise
73+
* @return 0 on success, error code otherwise
7474
*/
7575
GIT_EXTERN(int) git_odb_add_disk_alternate(git_odb *odb, const char *path);
7676

@@ -300,7 +300,7 @@ GIT_EXTERN(int) git_odb_open_wstream(git_odb_stream **out, git_odb *db, git_obje
300300
* @param stream the stream
301301
* @param buffer the data to write
302302
* @param len the buffer's length
303-
* @return 0 if the write succeeded; error code otherwise
303+
* @return 0 if the write succeeded, error code otherwise
304304
*/
305305
GIT_EXTERN(int) git_odb_stream_write(git_odb_stream *stream, const char *buffer, size_t len);
306306

@@ -315,7 +315,7 @@ GIT_EXTERN(int) git_odb_stream_write(git_odb_stream *stream, const char *buffer,
315315
*
316316
* @param out pointer to store the resulting object's id
317317
* @param stream the stream
318-
* @return 0 on success; an error code otherwise
318+
* @return 0 on success, an error code otherwise
319319
*/
320320
GIT_EXTERN(int) git_odb_stream_finalize_write(git_oid *out, git_odb_stream *stream);
321321

@@ -357,7 +357,7 @@ GIT_EXTERN(void) git_odb_stream_free(git_odb_stream *stream);
357357
* @param type pointer where to store the type of the object
358358
* @param db object database where the stream will read from
359359
* @param oid oid of the object the stream will read from
360-
* @return 0 if the stream was created; error code otherwise
360+
* @return 0 if the stream was created, error code otherwise
361361
*/
362362
GIT_EXTERN(int) git_odb_open_rstream(
363363
git_odb_stream **out,
@@ -496,7 +496,7 @@ GIT_EXTERN(git_object_t) git_odb_object_type(git_odb_object *object);
496496
* @param odb database to add the backend to
497497
* @param backend pointer to a git_odb_backend instance
498498
* @param priority Value for ordering the backends queue
499-
* @return 0 on success; error code otherwise
499+
* @return 0 on success, error code otherwise
500500
*/
501501
GIT_EXTERN(int) git_odb_add_backend(git_odb *odb, git_odb_backend *backend, int priority);
502502

@@ -517,7 +517,7 @@ GIT_EXTERN(int) git_odb_add_backend(git_odb *odb, git_odb_backend *backend, int
517517
* @param odb database to add the backend to
518518
* @param backend pointer to a git_odb_backend instance
519519
* @param priority Value for ordering the backends queue
520-
* @return 0 on success; error code otherwise
520+
* @return 0 on success, error code otherwise
521521
*/
522522
GIT_EXTERN(int) git_odb_add_alternate(git_odb *odb, git_odb_backend *backend, int priority);
523523

@@ -535,7 +535,7 @@ GIT_EXTERN(size_t) git_odb_num_backends(git_odb *odb);
535535
* @param out output pointer to ODB backend at pos
536536
* @param odb object database
537537
* @param pos index into object database backend list
538-
* @return 0 on success; GIT_ENOTFOUND if pos is invalid; other errors < 0
538+
* @return 0 on success, GIT_ENOTFOUND if pos is invalid, other errors < 0
539539
*/
540540
GIT_EXTERN(int) git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t pos);
541541

0 commit comments

Comments
 (0)