summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
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 {