Merge branch 'mm/push-default-switch-warning'
In the next major release, we will switch "git push [$there]" that does not say what to push from the traditional "matching" to the updated "simple" semantics, that pushes the current branch to the branch with the same name only when the current branch is set to integrate with that remote branch (all other cases will error out). * mm/push-default-switch-warning: push: start warning upcoming default change for push.default
This commit is contained in:
@ -64,7 +64,10 @@ test_expect_success 'no empty path components' '
|
||||
|
||||
test_expect_success 'clone remote repository' '
|
||||
rm -rf test_repo_clone &&
|
||||
git clone $HTTPD_URL/smart/test_repo.git test_repo_clone
|
||||
git clone $HTTPD_URL/smart/test_repo.git test_repo_clone &&
|
||||
(
|
||||
cd test_repo_clone && git config push.default matching
|
||||
)
|
||||
'
|
||||
|
||||
test_expect_success 'push to remote repository (standard)' '
|
||||
|
Reference in New Issue
Block a user