about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-04-20 18:26:13 +0530
committerFrank Terbeck <ft@bewatermyfriend.org>2013-04-21 12:12:44 +0200
commitcbdedcfbfe6d6cd2320ce185ded5c8b2596b61db (patch)
tree22364baddc1baa00a4d75a1b911c299b76514d34 /Completion/Unix/Command/_git
parentd1a3075293be436d557acb6ac123c100f9d30e4c (diff)
downloadzsh-cbdedcfbfe6d6cd2320ce185ded5c8b2596b61db.tar.gz
zsh-cbdedcfbfe6d6cd2320ce185ded5c8b2596b61db.tar.xz
zsh-cbdedcfbfe6d6cd2320ce185ded5c8b2596b61db.zip
31289: _git: branch.*.pushremote, remote.pushdefault
The configuration variables branch.*.pushremote and remote.pushdefault
are relatively new, and are currently not completed by ZSH.  Fix this.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index a7d1bda8a..5d0f8c5a8 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1719,6 +1719,7 @@ _git-config () {
     'branch.*.remote:what remote git fetch and git push should fetch form/push to::__git_remotes'
     'branch.*.merge:default refspec to be marked for merging::__git_ref_specs'
     'branch.*.mergeoptions:default options for merging::->branch.mergeoptions'
+    'branch.*.pushremote:what remote git push should push to::__git_remotes'
     'branch.*.rebase:rebase on top of fetched branch::->bool:false'
     'browser.*.cmd:browser command to use:browser:_path_commands'
     'browser.*.path:path to use for the browser:absolute browser path:_files -g "*(*)"'
@@ -1933,6 +1934,7 @@ _git-config () {
     receive.denyCurrentBranch:'deny a ref update of currently checked out branch::->receive.denyCurrentBranch'
     receive.denyNonFastForwards:'deny a ref update that is not a fast-forward::->bool:false'
     receive.updateserverinfo:'run git update-server-info after receiving data::->bool:false'
+    'remote.pushdefault:URL of a remote repository to pushto::__git_any_repositories'
     'remote.*.url:URL of a remote repository::__git_any_repositories'
     'remote.*.pushurl:push URL of a remote repository::__git_any_repositories'
     'remote.*.proxy:URL of proxy to use for a remote repository::_urls'