diff options
author | Ben Chatelain <ben@octop.ad> | 2015-07-27 18:32:55 -0600 |
---|---|---|
committer | Ben Chatelain <ben@octop.ad> | 2015-07-27 18:32:55 -0600 |
commit | 08afd227dfd3ee56accd6d6ded3889f34c5329fc (patch) | |
tree | 228b1facbac22de0cbcd9071713bfd292eb80625 | |
parent | 2da64edb809c7c2dc7d4f2c6667ff9e1490bd625 (diff) | |
download | libgit2-08afd227dfd3ee56accd6d6ded3889f34c5329fc.tar.gz |
Fix remaining documentation warnings
-rw-r--r-- | include/git2/sys/config.h | 2 | ||||
-rw-r--r-- | include/git2/sys/diff.h | 2 | ||||
-rw-r--r-- | src/path.h | 2 | ||||
-rw-r--r-- | src/push.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/sys/config.h b/include/git2/sys/config.h index b5b7df15f..044e34417 100644 --- a/include/git2/sys/config.h +++ b/include/git2/sys/config.h @@ -76,7 +76,7 @@ struct git_config_backend { * Initializes a `git_config_backend` with default values. Equivalent to * 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` * @return Zero on success; -1 on failure. */ diff --git a/include/git2/sys/diff.h b/include/git2/sys/diff.h index aa6fed757..aefd7b997 100644 --- a/include/git2/sys/diff.h +++ b/include/git2/sys/diff.h @@ -67,7 +67,7 @@ GIT_EXTERN(int) git_diff_print_callback__to_file_handle( typedef struct { unsigned int version; 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; #define GIT_DIFF_PERFDATA_VERSION 1 diff --git a/src/path.h b/src/path.h index 5927a5381..e6be06faa 100644 --- a/src/path.h +++ b/src/path.h @@ -319,7 +319,7 @@ extern int git_path_cmp( * @param callback Function to invoke on each path. Passed the `payload` * and the buffer containing the current path. The path should not * 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( git_buf *pathbuf, diff --git a/src/push.h b/src/push.h index 094f96ca9..53890f54b 100644 --- a/src/push.h +++ b/src/push.h @@ -83,7 +83,7 @@ int git_push_add_refspec(git_push *push, const char *refspec); * Update remote tips after a push * * @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 */ |