mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-06 03:53:59 +02:00
couple of things to clean up after rebasing onto master
This commit is contained in:
parent
e36ee0b4f1
commit
f905b27b00
@ -10,7 +10,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
|
||||||
"github.com/go-errors/errors"
|
"github.com/go-errors/errors"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazygit/pkg/config"
|
"github.com/jesseduffield/lazygit/pkg/config"
|
||||||
|
@ -116,7 +116,7 @@ func (gui *Gui) refreshFiles() error {
|
|||||||
}
|
}
|
||||||
fmt.Fprint(filesView, list)
|
fmt.Fprint(filesView, list)
|
||||||
|
|
||||||
if g.CurrentView() == filesView || (g.CurrentView() == gui.getMainView() && gui.State.Context == "merging") {
|
if g.CurrentView() == filesView || (g.CurrentView() == gui.getMainView() && g.CurrentView().Context == "merging") {
|
||||||
newSelectedFile, _ := gui.getSelectedFile(gui.g)
|
newSelectedFile, _ := gui.getSelectedFile(gui.g)
|
||||||
alreadySelected := newSelectedFile.Name == selectedFile.Name
|
alreadySelected := newSelectedFile.Name == selectedFile.Name
|
||||||
return gui.selectFile(alreadySelected)
|
return gui.selectFile(alreadySelected)
|
||||||
|
Loading…
Reference in New Issue
Block a user