summaryrefslogtreecommitdiff
path: root/stash.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2019-12-10 23:41:38 +0100
committerGitHub <[email protected]>2019-12-10 23:41:38 +0100
commitba1b5f0c23b33b25122cc42f2b8c6669fd08732b (patch)
treed7b16f854db35a2ae348bc1eaa11ba860f37c966 /stash.go
parent37e5b53f742d3127acfa2a9cfc57ccb94e1b8c59 (diff)
parentc5159e624e55cb14c56a3e5f36200be409fba9d6 (diff)
Merge pull request #528 from libgit2/cmn/bump-libgit2
Bump libgit2 to 6777db8e83
Diffstat (limited to 'stash.go')
-rw-r--r--stash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stash.go b/stash.go
index 8743da8..6624bce 100644
--- a/stash.go
+++ b/stash.go
@@ -171,7 +171,7 @@ func (opts *StashApplyOptions) toC() (
optsC = &C.git_stash_apply_options{
version: C.GIT_STASH_APPLY_OPTIONS_VERSION,
- flags: C.git_stash_apply_flags(opts.Flags),
+ flags: C.uint32_t(opts.Flags),
}
populateCheckoutOpts(&optsC.checkout_options, &opts.CheckoutOptions)
if opts.ProgressCallback != nil {