Merge branch 'nd/maint-remote-remove' into maint
* nd/maint-remote-remove: remote: prefer subcommand name 'remove' to 'rm'
This commit is contained in:
@ -125,7 +125,7 @@ EOF
|
||||
} &&
|
||||
git tag footag &&
|
||||
git config --add remote.oops.fetch "+refs/*:refs/*" &&
|
||||
git remote rm oops 2>actual1 &&
|
||||
git remote remove oops 2>actual1 &&
|
||||
git branch foobranch &&
|
||||
git config --add remote.oops.fetch "+refs/*:refs/*" &&
|
||||
git remote rm oops 2>actual2 &&
|
||||
@ -672,7 +672,7 @@ test_expect_success 'migrate a remote from named file in $GIT_DIR/remotes' '
|
||||
git clone one five &&
|
||||
origin_url=$(pwd)/one &&
|
||||
(cd five &&
|
||||
git remote rm origin &&
|
||||
git remote remove origin &&
|
||||
mkdir -p .git/remotes &&
|
||||
cat ../remotes_origin > .git/remotes/origin &&
|
||||
git remote rename origin origin &&
|
||||
|
@ -109,7 +109,7 @@ test_expect_success 'http-push fetches packed objects' '
|
||||
# By reset, we force git to retrieve the packed object
|
||||
(cd "$ROOT_PATH"/test_repo_clone_packed &&
|
||||
git reset --hard HEAD^ &&
|
||||
git remote rm origin &&
|
||||
git remote remove origin &&
|
||||
git reflog expire --expire=0 --all &&
|
||||
git prune &&
|
||||
git push -f -v $HTTPD_URL/dumb/test_repo_packed.git master)
|
||||
|
Reference in New Issue
Block a user