mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Add a test demonstrating the bug
After switching to another repo and then back to the original one, all keybinding suggestions in the status bar are shown twice.
This commit is contained in:
@ -360,6 +360,12 @@ func (self *Shell) Clone(repoName string) *Shell {
|
||||
return self
|
||||
}
|
||||
|
||||
func (self *Shell) CloneNonBare(repoName string) *Shell {
|
||||
self.RunCommand([]string{"git", "clone", ".", "../" + repoName})
|
||||
|
||||
return self
|
||||
}
|
||||
|
||||
func (self *Shell) SetBranchUpstream(branch string, upstream string) *Shell {
|
||||
self.RunCommand([]string{"git", "branch", "--set-upstream-to=" + upstream, branch})
|
||||
|
||||
|
Reference in New Issue
Block a user