mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
standardise diffmode
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user