diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-21 20:50:54 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 59f5f5c1af4ab52f91d8bc6538fb460a21e880a8 (patch) | |
tree | 0c9931f2aaad1eaa5f4a6317e3e54bd191c0dc52 /pkg/commands/patch/patch_manager.go | |
parent | 1956301b1cdcb6c1a920e395bce8f6fdf19f3cfa (diff) |
refactor
Diffstat (limited to 'pkg/commands/patch/patch_manager.go')
-rw-r--r-- | pkg/commands/patch/patch_manager.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/commands/patch/patch_manager.go b/pkg/commands/patch/patch_manager.go index 8da6fb3a2..2af269fb3 100644 --- a/pkg/commands/patch/patch_manager.go +++ b/pkg/commands/patch/patch_manager.go @@ -46,8 +46,9 @@ func NewPatchManager(log *logrus.Entry, applyPatch applyPatchFunc) *PatchManager } // NewPatchManager returns a new PatchManager -func (p *PatchManager) Start(parent string, diffMap map[string]string) { +func (p *PatchManager) Start(parent string, diffMap map[string]string, canRebase bool) { p.Parent = parent + p.CanRebase = canRebase p.fileInfoMap = map[string]*fileInfo{} for filename, diff := range diffMap { p.fileInfoMap[filename] = &fileInfo{ |