summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorJacob Watson <gary.kactara.email@gmail.com>2022-07-13 15:58:52 -0700
committerJacob Watson <gary.kactara.email@gmail.com>2022-07-14 10:24:00 -0700
commitfc9d28970a9fe970025f529c2108a6a3fef03555 (patch)
tree053a7f136966bfa067c4659a8d4fd9edec2d7ed3 /include/git2
parentd0155f1089113bb022aa614254b15a7e1ffcd4a2 (diff)
downloadlibgit2-fc9d28970a9fe970025f529c2108a6a3fef03555.tar.gz
stash: add `const` to arguments
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/stash.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/stash.h b/include/git2/stash.h
index 3b8908195..3d70b36c3 100644
--- a/include/git2/stash.h
+++ b/include/git2/stash.h
@@ -133,7 +133,9 @@ GIT_EXTERN(int) git_stash_save_options_init(
* or error code.
*/
GIT_EXTERN(int) git_stash_save_with_opts(
- git_oid *out, git_repository *repo, git_stash_save_options *opts);
+ git_oid *out,
+ git_repository *repo,
+ const git_stash_save_options *opts);
/** Stash application flags. */
typedef enum {