1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Fetch the correct remote branch

This commit is contained in:
Luka Markušić
2022-06-01 20:30:13 +02:00
parent f9a3188b56
commit 55a941d5dc
50 changed files with 112 additions and 1 deletions

View File

@ -341,7 +341,7 @@ func (self *BranchesController) fastForward(branch *models.Branch) error {
err := self.git.Sync.Pull(
git_commands.PullOptions{
RemoteName: branch.UpstreamRemote,
BranchName: branch.Name,
BranchName: branch.UpstreamBranch,
FastForwardOnly: true,
},
)