Commit 1cc6809
committed
fix branch tests
As prev. behavior was pushing without `brach.*.merge` check,
situation like
`r1branch.merge = refs/heads/master`
would end up pushing to remote r1branch.
Which is changed in prev. commits.
New behavior would push to remote master
To comply with tests, this commit enchance `clone_branch_commit_push`
by _explicitly_ resetting branch upstream.
So on push it will create new remote ref, as nothing was configured.
This behavior is expected to happen in `test_remotes_of_branches` test1 parent eb5b78a commit 1cc6809
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
571 | 580 | | |
572 | 581 | | |
573 | 582 | | |
574 | 583 | | |
575 | 584 | | |
| 585 | + | |
576 | 586 | | |
577 | 587 | | |
578 | 588 | | |
| |||
0 commit comments