diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-09-06 19:25:23 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-06 13:23:22 -0700 |
commit | e17dba8fe15028425acd6a4ebebf1b8e9377d3c6 (patch) | |
tree | 77baffcf3748619adc2c02f68292103e4acc9165 /contrib | |
parent | 871e293c9acbeaacce59dcd98fab6028f552f5be (diff) | |
download | git-e17dba8fe15028425acd6a4ebebf1b8e9377d3c6.tar.gz git-e17dba8fe15028425acd6a4ebebf1b8e9377d3c6.tar.xz |
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 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index ffedce751..ee4c0a07a 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2032,7 +2032,7 @@ _git_config () _git_remote () { - local subcommands="add rename rm set-head set-branches set-url show prune update" + local subcommands="add rename remove set-head set-branches set-url show prune update" local subcommand="$(__git_find_on_cmdline "$subcommands")" if [ -z "$subcommand" ]; then __gitcomp "$subcommands" @@ -2040,7 +2040,7 @@ _git_remote () fi case "$subcommand" in - rename|rm|set-url|show|prune) + rename|remove|set-url|show|prune) __gitcomp_nl "$(__git_remotes)" ;; set-head|set-branches) |