summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-09-12 14:21:58 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-12 14:21:58 -0700
commit90585604a72aaf56158069023dbcc6a61c6d7d50 (patch)
tree9a13a38bfbe96699c56686e385793840bda6ee24 /t
parentMerge branch 'nd/log-n-doc' (diff)
parentremote: prefer subcommand name 'remove' to 'rm' (diff)
downloadtgif-90585604a72aaf56158069023dbcc6a61c6d7d50.tar.xz
Merge branch 'nd/maint-remote-remove'
* nd/maint-remote-remove: remote: prefer subcommand name 'remove' to 'rm'
Diffstat (limited to 't')
-rwxr-xr-xt/t5505-remote.sh4
-rwxr-xr-xt/t5540-http-push.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh
index 88a21ff0bf..ccc55ebf4b 100755
--- a/t/t5505-remote.sh
+++ b/t/t5505-remote.sh
@@ -131,7 +131,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 &&
@@ -678,7 +678,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 &&
diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh
index f141f2d1da..01d0d95b4d 100755
--- a/t/t5540-http-push.sh
+++ b/t/t5540-http-push.sh
@@ -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)