mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
Support setting the similarity threshold for detecting renames
This commit is contained in:
committed by
Jesse Duffield
parent
bfe2dd4ed8
commit
b9107d5fc8
@@ -179,6 +179,7 @@ func (gui *Gui) resetHelpersAndControllers() {
|
||||
undoController := controllers.NewUndoController(common)
|
||||
globalController := controllers.NewGlobalController(common)
|
||||
contextLinesController := controllers.NewContextLinesController(common)
|
||||
renameSimilarityThresholdController := controllers.NewRenameSimilarityThresholdController(common)
|
||||
verticalScrollControllerFactory := controllers.NewVerticalScrollControllerFactory(common, &gui.viewBufferManagerMap)
|
||||
|
||||
branchesController := controllers.NewBranchesController(common)
|
||||
@@ -383,6 +384,7 @@ func (gui *Gui) resetHelpersAndControllers() {
|
||||
undoController,
|
||||
globalController,
|
||||
contextLinesController,
|
||||
renameSimilarityThresholdController,
|
||||
jumpToSideWindowController,
|
||||
syncController,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user