summaryrefslogtreecommitdiffstats
path: root/t/t5540-http-push.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-09-06 14:25:23 +0200
committerJunio C Hamano <gitster@pobox.com>2012-09-06 22:23:22 +0200
commite17dba8fe15028425acd6a4ebebf1b8e9377d3c6 (patch)
tree77baffcf3748619adc2c02f68292103e4acc9165 /t/t5540-http-push.sh
parentMerge branch 'maint-1.7.11' into maint (diff)
downloadgit-e17dba8fe15028425acd6a4ebebf1b8e9377d3c6.tar.xz
git-e17dba8fe15028425acd6a4ebebf1b8e9377d3c6.zip
remote: prefer subcommand name 'remove' to 'rm'
All remote subcommands are spelled out words except 'rm'. 'rm', being a popular UNIX command name, may mislead users that there are also 'ls' or 'mv'. Use 'remove' to fit with the rest of subcommands. 'rm' is still supported and used in the test suite. It's just not widely advertised. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-xt/t5540-http-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh
index 1eea647656..7c14bc4811 100755
--- a/t/t5540-http-push.sh
+++ b/t/t5540-http-push.sh
@@ -117,7 +117,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)