File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -425,14 +425,14 @@ test_expect_success '--set-upstream-to fails on a non-ref' '
425425test_expect_success ' use --set-upstream-to modify HEAD' '
426426 test_config branch.master.remote foo &&
427427 test_config branch.master.merge foo &&
428- git branch my12
428+ git branch my12 &&
429429 git branch --set-upstream-to my12 &&
430430 test "$(git config branch.master.remote)" = "." &&
431431 test "$(git config branch.master.merge)" = "refs/heads/my12"
432432'
433433
434434test_expect_success ' use --set-upstream-to modify a particular branch' '
435- git branch my13
435+ git branch my13 &&
436436 git branch --set-upstream-to master my13 &&
437437 test "$(git config branch.my13.remote)" = "." &&
438438 test "$(git config branch.my13.merge)" = "refs/heads/master"
@@ -443,7 +443,7 @@ test_expect_success '--unset-upstream should fail if given a non-existent branch
443443'
444444
445445test_expect_success ' test --unset-upstream on HEAD' '
446- git branch my14
446+ git branch my14 &&
447447 test_config branch.master.remote foo &&
448448 test_config branch.master.merge foo &&
449449 git branch --set-upstream-to my14 &&
@@ -465,7 +465,7 @@ test_expect_success '--unset-upstream should fail on detached HEAD' '
465465'
466466
467467test_expect_success ' test --unset-upstream on a particular branch' '
468- git branch my15
468+ git branch my15 &&
469469 git branch --set-upstream-to master my14 &&
470470 git branch --unset-upstream my14 &&
471471 test_must_fail git config branch.my14.remote &&
You can’t perform that action at this time.
0 commit comments