From 93fc75442233ef4905ea6ee78bff2095386fe866 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 1 Sep 2008 20:40:28 +0000 Subject: Mikael Magnusson: 25591: "git remote rm" completion. --- Completion/Unix/Command/_git | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 293a479fb..bdd16d93b 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -674,7 +674,8 @@ _git-remote () { 'add:add a new remote' 'show:show information about a given remote' 'prune:delete all stale tracking branches for a given remote' - 'update:fetch updates for a set of remotes') + 'update:fetch updates for a set of remotes' + 'rm:remove a remote from .git/config and all associated tracking branches') _describe -t commands 'sub-command' commands && ret=0 ;; @@ -701,6 +702,8 @@ _git-remote () { (update) __git_remote-groups && ret=0 ;; + (rm) + __git_remotes && ret=0 esac ;; esac -- cgit 1.4.1