remove dead code

This commit is contained in:
Jesse Duffield 2021-04-01 08:28:46 +11:00
parent 872cf0d726
commit 0b7bda291c
2 changed files with 0 additions and 7 deletions

View file

@ -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)
}