mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
remove dead code
This commit is contained in:
parent
872cf0d726
commit
0b7bda291c
2 changed files with 0 additions and 7 deletions
|
@ -63,7 +63,6 @@ func (gui *Gui) handleCheckoutCommitFile(g *gocui.Gui, v *gocui.View) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// TODO: verify this works for directories
|
||||
if err := gui.GitCommand.CheckoutFile(gui.State.CommitFileManager.GetParent(), node.GetPath()); err != nil {
|
||||
return gui.surfaceError(err)
|
||||
}
|
||||
|
|
|
@ -40,9 +40,3 @@ func (gui *Gui) resetWindowForView(viewName string) {
|
|||
// we assume here that the window contains as its default view a view with the same name as the window
|
||||
gui.State.WindowViewNameMap[window] = window
|
||||
}
|
||||
|
||||
func (gui *Gui) renderWindow(window string) error {
|
||||
viewName := gui.getViewNameForWindow(window)
|
||||
gui.Log.Warn(viewName)
|
||||
return gui.rerenderView(viewName)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue