diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2019-12-10 23:41:38 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-10 23:41:38 +0100 |
| commit | ba1b5f0c23b33b25122cc42f2b8c6669fd08732b (patch) | |
| tree | d7b16f854db35a2ae348bc1eaa11ba860f37c966 /merge.go | |
| parent | 37e5b53f742d3127acfa2a9cfc57ccb94e1b8c59 (diff) | |
| parent | c5159e624e55cb14c56a3e5f36200be409fba9d6 (diff) | |
Merge pull request #528 from libgit2/cmn/bump-libgit2
Bump libgit2 to 6777db8e83
Diffstat (limited to 'merge.go')
| -rw-r--r-- | merge.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -132,7 +132,7 @@ func (mo *MergeOptions) toC() *C.git_merge_options { } return &C.git_merge_options{ version: C.uint(mo.Version), - flags: C.git_merge_flag_t(mo.TreeFlags), + flags: C.uint32_t(mo.TreeFlags), rename_threshold: C.uint(mo.RenameThreshold), target_limit: C.uint(mo.TargetLimit), file_favor: C.git_merge_file_favor_t(mo.FileFavor), @@ -394,7 +394,7 @@ func populateCMergeFileOptions(c *C.git_merge_file_options, options MergeFileOpt c.our_label = C.CString(options.OurLabel) c.their_label = C.CString(options.TheirLabel) c.favor = C.git_merge_file_favor_t(options.Favor) - c.flags = C.git_merge_file_flag_t(options.Flags) + c.flags = C.uint32_t(options.Flags) c.marker_size = C.ushort(options.MarkerSize) } |
