diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2018-02-22 10:06:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-22 10:06:47 +0100 |
| commit | e57025a372f882df8ee7dbc47dc7d4ec6eddcc55 (patch) | |
| tree | 7bd3dc4990985590c7a910f09960df28cb0bad55 /merge.go | |
| parent | 432a164805a43a5ee0df15f7939dc771fc8d4fbd (diff) | |
| parent | 661e1a6f1b70a3f4837c4aec6a3006dcc5689bc6 (diff) | |
Merge pull request #434 from libgit2/cmn/bumping
Update vendored libgit2 to v0.27.0-rc1
Diffstat (limited to 'merge.go')
| -rw-r--r-- | merge.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -355,6 +355,7 @@ type MergeFileOptions struct { TheirLabel string Favor MergeFileFavor Flags MergeFileFlags + MarkerSize uint16 } func mergeFileOptionsFromC(c C.git_merge_file_options) MergeFileOptions { @@ -364,6 +365,7 @@ func mergeFileOptionsFromC(c C.git_merge_file_options) MergeFileOptions { TheirLabel: C.GoString(c.their_label), Favor: MergeFileFavor(c.favor), Flags: MergeFileFlags(c.flags), + MarkerSize: uint16(c.marker_size), } } @@ -373,6 +375,7 @@ func populateCMergeFileOptions(c *C.git_merge_file_options, options MergeFileOpt 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.marker_size = C.ushort(options.MarkerSize) } func freeCMergeFileOptions(c *C.git_merge_file_options) { |
