summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-01-29 17:34:27 +0000
committerClint Adams <clint@users.sourceforge.net>2009-01-29 17:34:27 +0000
commit4ddc411d719845af612980ae756b2b92f026f42f (patch)
tree4036210d873000fe81e2fdfd7c92c2d68ae3b319
parent9a2e1862e0b62edf8bcfc8f5cbfb16dd90c0e9ce (diff)
downloadzsh-4ddc411d719845af612980ae756b2b92f026f42f.tar.gz
zsh-4ddc411d719845af612980ae756b2b92f026f42f.tar.xz
zsh-4ddc411d719845af612980ae756b2b92f026f42f.zip
Ingmar Vanhassel: 26467: add "git remote rename" completion.
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_git7
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e8c9fad7e..63d56f555 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,8 @@
 	completion of modinfo -f.
 	* Jörg Sommer: 26453: Completion/Linux/Command/_modutils: complete
 	modinfo -k.
+	* Ingmar Vanhassel: 26467: Completion/Unix/Command/_git: add "git
+	remote rename" completion.
 
 2009-01-29  Peter Stephenson  <pws@csr.com>
 
@@ -11045,5 +11047,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4536 $                         
+* $Revision: 1.4537 $                         
 *****************************************************
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index d5de4145e..7e6a17439 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -665,7 +665,8 @@ _git-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'
-        'rm:remove a remote from .git/config and all associated tracking branches')
+        'rm:remove a remote from .git/config and all associated tracking branches'
+        'rename:rename a remote from .git/config and update all associated tracking branches')
 
       _describe -t commands 'sub-command' commands && ret=0
       ;;
@@ -694,6 +695,10 @@ _git-remote () {
           ;;
         (rm)
           __git_remotes && ret=0
+          ;;
+        (rename)
+          __git_remotes && ret=0
+          ;;
       esac
       ;;
   esac