Commit 72cee168901cb384d7ceed4492362dc7cf31a6d3

Josh Bleecher Snyder 2016-12-02T16:14:47

remote: fix typo in git_fetch_init_options docs

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/remote.h b/include/git2/remote.h
index c459f42..53c4aee 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -569,7 +569,7 @@ typedef struct {
  * Initializes a `git_fetch_options` with default values. Equivalent to
  * creating an instance with GIT_FETCH_OPTIONS_INIT.
  *
- * @param opts the `git_push_options` instance to initialize.
+ * @param opts the `git_fetch_options` instance to initialize.
  * @param version the version of the struct; you should pass
  *        `GIT_FETCH_OPTIONS_VERSION` here.
  * @return Zero on success; -1 on failure.