Fix remaining documentation warnings

This commit is contained in:
Ben Chatelain 2015-07-27 18:32:55 -06:00
parent 2da64edb80
commit 08afd227df
4 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ struct git_config_backend {
* Initializes a `git_config_backend` with default values. Equivalent to * Initializes a `git_config_backend` with default values. Equivalent to
* creating an instance with GIT_CONFIG_BACKEND_INIT. * creating an instance with GIT_CONFIG_BACKEND_INIT.
* *
* @param opts the `git_config_backend` struct to initialize. * @param backend the `git_config_backend` struct to initialize.
* @param version Version of struct; pass `GIT_CONFIG_BACKEND_VERSION` * @param version Version of struct; pass `GIT_CONFIG_BACKEND_VERSION`
* @return Zero on success; -1 on failure. * @return Zero on success; -1 on failure.
*/ */

View File

@ -67,7 +67,7 @@ GIT_EXTERN(int) git_diff_print_callback__to_file_handle(
typedef struct { typedef struct {
unsigned int version; unsigned int version;
size_t stat_calls; /**< Number of stat() calls performed */ size_t stat_calls; /**< Number of stat() calls performed */
size_t oid_calculations; /**</**< Number of ID calculations */ size_t oid_calculations; /**< Number of ID calculations */
} git_diff_perfdata; } git_diff_perfdata;
#define GIT_DIFF_PERFDATA_VERSION 1 #define GIT_DIFF_PERFDATA_VERSION 1

View File

@ -319,7 +319,7 @@ extern int git_path_cmp(
* @param callback Function to invoke on each path. Passed the `payload` * @param callback Function to invoke on each path. Passed the `payload`
* and the buffer containing the current path. The path should not * and the buffer containing the current path. The path should not
* be modified in any way. Return non-zero to stop iteration. * be modified in any way. Return non-zero to stop iteration.
* @param state Passed to fn as the first ath. * @param payload Passed to fn as the first ath.
*/ */
extern int git_path_walk_up( extern int git_path_walk_up(
git_buf *pathbuf, git_buf *pathbuf,

View File

@ -83,7 +83,7 @@ int git_push_add_refspec(git_push *push, const char *refspec);
* Update remote tips after a push * Update remote tips after a push
* *
* @param push The push object * @param push The push object
* @param signature The identity to use when updating reflogs * @param callbacks The identity to use when updating reflogs
* *
* @return 0 or an error code * @return 0 or an error code
*/ */