Commit be249bca1bb79266a286b93f3e41dd6888d348a4

Edward Thomson 2017-02-08T10:21:55

Merge pull request #4109 from rcjsuen/patch-1 Flag checkout_opts in git_reset as optional

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/reset.h b/include/git2/reset.h
index 7907529..bd29c69 100644
--- a/include/git2/reset.h
+++ b/include/git2/reset.h
@@ -53,7 +53,7 @@ typedef enum {
  *
  * @param reset_type Kind of reset operation to perform.
  *
- * @param checkout_opts Checkout options to be used for a HARD reset.
+ * @param checkout_opts Optional checkout options to be used for a HARD reset.
  * The checkout_strategy field will be overridden (based on reset_type).
  * This parameter can be used to propagate notify and progress callbacks.
  *