diff options
| author | lhchavez <[email protected]> | 2020-12-04 19:54:26 -0800 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2021-09-05 18:52:01 -0700 |
| commit | b78bde3d74b1617d5b635723552aaec0583eb054 (patch) | |
| tree | 16c98859171b6483b61ac710672694d823db2e1b /rebase.go | |
| parent | 5def02a589a2c1653f4bb515fdec290361a222be (diff) | |
Make all Options objects consistent
This change makes all Options objects have child Option fields as values
(instead of pointers) to mirror the libgit2 interface. It also names
them Options instead of Opts to match the current libgit2 nomenclature
and removes the Version fields.
Diffstat (limited to 'rebase.go')
| -rw-r--r-- | rebase.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -130,7 +130,6 @@ func commitSigningCallback(errorMessage **C.char, _signature *C.git_buf, _signat // RebaseOptions are used to tell the rebase machinery how to operate type RebaseOptions struct { - Version uint Quiet int InMemory int RewriteNotesRef string @@ -160,7 +159,6 @@ func DefaultRebaseOptions() (RebaseOptions, error) { func rebaseOptionsFromC(opts *C.git_rebase_options) RebaseOptions { return RebaseOptions{ - Version: uint(opts.version), Quiet: int(opts.quiet), InMemory: int(opts.inmemory), RewriteNotesRef: C.GoString(opts.rewrite_notes_ref), |
