summaryrefslogtreecommitdiff
path: root/include/git2/reset.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-17 11:46:55 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-04-20 16:22:44 -0400
commit649834fd6edd5ee2f7cb3e791081b2d57a4d7c41 (patch)
treec982e5a0396d5e6ba0189da62233b99080faf9b2 /include/git2/reset.h
parenteaf0d68830cc8fc56c92733a550ea5f6bc15101d (diff)
downloadlibgit2-649834fd6edd5ee2f7cb3e791081b2d57a4d7c41.tar.gz
reset: `git_checkout_options` is `const`
Diffstat (limited to 'include/git2/reset.h')
-rw-r--r--include/git2/reset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/reset.h b/include/git2/reset.h
index c03dbed8c..37e578e58 100644
--- a/include/git2/reset.h
+++ b/include/git2/reset.h
@@ -62,7 +62,7 @@ GIT_EXTERN(int) git_reset(
git_repository *repo,
git_object *target,
git_reset_t reset_type,
- git_checkout_options *checkout_opts);
+ const git_checkout_options *checkout_opts);
/**
* Sets the current head to the specified commit oid and optionally
@@ -80,7 +80,7 @@ GIT_EXTERN(int) git_reset_from_annotated(
git_repository *repo,
git_annotated_commit *commit,
git_reset_t reset_type,
- git_checkout_options *checkout_opts);
+ const git_checkout_options *checkout_opts);
/**
* Updates some entries in the index from the target commit tree.