1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

standardise diffmode

This commit is contained in:
Jesse Duffield
2020-08-19 22:27:31 +10:00
parent 419cb9feb8
commit 2855b5b4d5
11 changed files with 23 additions and 91 deletions

View File

@@ -24,14 +24,6 @@ func (gui *Gui) getSelectedBranch() *commands.Branch {
}
func (gui *Gui) handleBranchSelect() error {
if gui.popupPanelFocused() {
return nil
}
if gui.inDiffMode() {
return gui.renderDiff()
}
var task updateTask
branch := gui.getSelectedBranch()
if branch == nil {