summaryrefslogtreecommitdiff
path: root/stash.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2019-12-10 22:15:32 +0000
committerCarlos Martín Nieto <[email protected]>2019-12-10 22:15:32 +0000
commit97e6392d3ab67bbf3e3e59b86a0bc9ebf7430e98 (patch)
treee7e5259914f20617499933cbe7acf53af0fe237e /stash.go
parent790b3d2ac014385a76e858bc21549be50c3ef7c8 (diff)
Adjust to libgit2 changes
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 {