mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
Fix bug with deleting remote branch whose name doesn't match local branch
This commit is contained in:
parent
be3683ccc8
commit
c4e5995cb9
2 changed files with 1 additions and 8 deletions
|
@ -581,7 +581,7 @@ func (self *BranchesController) localDelete(branch *models.Branch) error {
|
|||
}
|
||||
|
||||
func (self *BranchesController) remoteDelete(branch *models.Branch) error {
|
||||
return self.c.Helpers().BranchesHelper.ConfirmDeleteRemote(branch.UpstreamRemote, branch.Name)
|
||||
return self.c.Helpers().BranchesHelper.ConfirmDeleteRemote(branch.UpstreamRemote, branch.UpstreamBranch)
|
||||
}
|
||||
|
||||
func (self *BranchesController) forceDelete(branch *models.Branch) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue