mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 16:29:57 +00:00
Merge pull request #4117 from rcjsuen/patch-1
Flag options in git_stash_apply and git_stash_pop as being optional
This commit is contained in:
commit
2b8163b8b3
@ -173,7 +173,7 @@ GIT_EXTERN(int) git_stash_apply_init_options(
|
||||
* @param repo The owning repository.
|
||||
* @param index The position within the stash list. 0 points to the
|
||||
* most recent stashed state.
|
||||
* @param options Options to control how stashes are applied.
|
||||
* @param options Optional options to control how stashes are applied.
|
||||
*
|
||||
* @return 0 on success, GIT_ENOTFOUND if there's no stashed state for the
|
||||
* given index, GIT_EMERGECONFLICT if changes exist in the working
|
||||
@ -242,7 +242,7 @@ GIT_EXTERN(int) git_stash_drop(
|
||||
* @param repo The owning repository.
|
||||
* @param index The position within the stash list. 0 points to the
|
||||
* most recent stashed state.
|
||||
* @param options Options to control how stashes are applied.
|
||||
* @param options Optional options to control how stashes are applied.
|
||||
*
|
||||
* @return 0 on success, GIT_ENOTFOUND if there's no stashed state for the given
|
||||
* index, or error code. (see git_stash_apply() above for details)
|
||||
|
Loading…
Reference in New Issue
Block a user