diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-09-01 20:40:28 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-09-01 20:40:28 +0000 |
commit | 93fc75442233ef4905ea6ee78bff2095386fe866 (patch) | |
tree | 933c0c61613ccbee4e948fc301437f49dbfaf09c | |
parent | fd2f37d84b7456f0d4dbfc15111ef4ae5ab2131a (diff) | |
download | zsh-93fc75442233ef4905ea6ee78bff2095386fe866.tar.gz zsh-93fc75442233ef4905ea6ee78bff2095386fe866.tar.xz zsh-93fc75442233ef4905ea6ee78bff2095386fe866.zip |
Mikael Magnusson: 25591: "git remote rm" completion.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index cfe184193..ed8a7796f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-09-01 Clint Adams <clint@zsh.org> + * Mikael Magnusson: 25591: Completion/Unix/Command/_git: + "git remote rm" completion. + * Mikael Magnusson: 25590: Completion/Unix/Command/_git: update "git add" 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 |