Skip to content

Commit 2b8163b

Browse files
author
Edward Thomson
authored
Merge pull request libgit2#4117 from rcjsuen/patch-1
Flag options in git_stash_apply and git_stash_pop as being optional
2 parents 45d5579 + 93e2c74 commit 2b8163b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/git2/stash.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ GIT_EXTERN(int) git_stash_apply_init_options(
173173
* @param repo The owning repository.
174174
* @param index The position within the stash list. 0 points to the
175175
* most recent stashed state.
176-
* @param options Options to control how stashes are applied.
176+
* @param options Optional options to control how stashes are applied.
177177
*
178178
* @return 0 on success, GIT_ENOTFOUND if there's no stashed state for the
179179
* given index, GIT_EMERGECONFLICT if changes exist in the working
@@ -242,7 +242,7 @@ GIT_EXTERN(int) git_stash_drop(
242242
* @param repo The owning repository.
243243
* @param index The position within the stash list. 0 points to the
244244
* most recent stashed state.
245-
* @param options Options to control how stashes are applied.
245+
* @param options Optional options to control how stashes are applied.
246246
*
247247
* @return 0 on success, GIT_ENOTFOUND if there's no stashed state for the given
248248
* index, or error code. (see git_stash_apply() above for details)

0 commit comments

Comments
 (0)