mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
Rename PushBranch to PushBranchAndSetUpstream
It is unexpected that a function called PushBranch also sets the upstream branch; also, we want to add a PushBranch function in the next commit that doesn't.
This commit is contained in:
@@ -15,10 +15,10 @@ var ResetToUpstream = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
CloneIntoRemote("origin").
|
||||
NewBranch("hard-branch").
|
||||
EmptyCommit("hard commit").
|
||||
PushBranch("origin", "hard-branch").
|
||||
PushBranchAndSetUpstream("origin", "hard-branch").
|
||||
NewBranch("soft-branch").
|
||||
EmptyCommit("soft commit").
|
||||
PushBranch("origin", "soft-branch").
|
||||
PushBranchAndSetUpstream("origin", "soft-branch").
|
||||
NewBranch("base").
|
||||
EmptyCommit("base-branch commit").
|
||||
CreateFile("file-1", "content").
|
||||
|
||||
Reference in New Issue
Block a user