summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Suen <remy.suen@gmail.com>2017-02-05 07:12:32 +0900
committerGitHub <noreply@github.com>2017-02-05 07:12:32 +0900
commit3a133652691c07abb1a898a3704e693cb9c40901 (patch)
treedb34259e7ffc9696592cc6ae7c810858e625ba6d
parent887c1931a293cc6bb2687fea7a8303ab3e8fbc7e (diff)
downloadlibgit2-3a133652691c07abb1a898a3704e693cb9c40901.tar.gz
Flag checkout_opts in git_reset as optional
The check_outs argument can be NULL and should be flagged accordingly in the header file.
-rw-r--r--include/git2/reset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/reset.h b/include/git2/reset.h
index 79075291f..bd29c69e4 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.
*