summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-01-21 19:14:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-01-21 20:23:23 (GMT)
commitf135e72d611ff6faf3d413a85f1620227d9f0705 (patch)
tree9f681459793def905dabc788de3beed366cdca4c /contrib/completion
parentf873dd5ac22fee648f9097d5a91200b6f4850ae0 (diff)
downloadgit-f135e72d611ff6faf3d413a85f1620227d9f0705.zip
git-f135e72d611ff6faf3d413a85f1620227d9f0705.tar.gz
git-f135e72d611ff6faf3d413a85f1620227d9f0705.tar.bz2
bash completion: add 'rename' subcommand to git-remote
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rwxr-xr-xcontrib/completion/git-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index a1298c4..703f4c2 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1391,7 +1391,7 @@ _git_config ()
_git_remote ()
{
- local subcommands="add rm show prune update"
+ local subcommands="add rename rm show prune update"
local subcommand="$(__git_find_subcommand "$subcommands")"
if [ -z "$subcommand" ]; then
__gitcomp "$subcommands"
@@ -1399,7 +1399,7 @@ _git_remote ()
fi
case "$subcommand" in
- rm|show|prune)
+ rename|rm|show|prune)
__gitcomp "$(__git_remotes)"
;;
update)