mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03: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,9 +15,9 @@ var Delete = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
CloneIntoRemote("origin").
|
||||
EmptyCommit("blah").
|
||||
NewBranch("branch-one").
|
||||
PushBranch("origin", "branch-one").
|
||||
PushBranchAndSetUpstream("origin", "branch-one").
|
||||
NewBranch("branch-two").
|
||||
PushBranch("origin", "branch-two").
|
||||
PushBranchAndSetUpstream("origin", "branch-two").
|
||||
EmptyCommit("deletion blocker").
|
||||
NewBranch("branch-three")
|
||||
},
|
||||
|
Reference in New Issue
Block a user