Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 3/3] Completion/Unix/Command/_git: branch.*.pushremote, remote.pushdefault
- X-seq: zsh-workers 31289
- From: Ramkumar Ramachandra <artagnon@xxxxxxxxx>
- To: ZSH Workers <zsh-workers@xxxxxxx>
- Subject: [PATCH 3/3] Completion/Unix/Command/_git: branch.*.pushremote, remote.pushdefault
- Date: Sat, 20 Apr 2013 18:26:13 +0530
- Cc: Clint Adams <clint@xxxxxxxxxxxxxxxxxxxxx>, Frank Terbeck <bewater@xxxxxxxxxxxxxxxxxxxxx>, Nikolai Weibull <pcppopper@xxxxxxxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=FJipVE1YIxjWDgWnRmgmiEB/uD3Bsa5lpRVzANmqY1Q=; b=Ih98o16erryGxKcf6i+T9QUOhSC+7BM+dVi09PxWVfwRAeZWo3U7TkflZvBYQxx3zE Oq9LRQhqAikNNerAipktyfqBzY1iqEDnSKQ2Etg3b2lBQ/fZZy0ObIE38MGH5obHPf3s N1L3nDGFHi6J36iCPbrFrRIcF00uKBYYIZ46FWaLpvn8vzJ+h//5xe033VLBSPL9W5WL PkjKbEvc6yVfkZYU/yNts5L4r8G+QAQn0h/888Vl+rM+S7oajOx0Bgp3DNlv55PXTtvF yG439mQwxHLsHImzSPBAxjXj6PivvNl5iz3kFpRHDAyey1StxisKjBKQ2iZYO0SmVX9S u2Hg==
- In-reply-to: <1366462573-15545-1-git-send-email-artagnon@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1366462573-15545-1-git-send-email-artagnon@gmail.com>
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@xxxxxxxxx>
---
Completion/Unix/Command/_git | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 38b1d80..6b8f6b6 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1744,6 +1744,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 "*(*)"'
@@ -1958,6 +1959,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'
--
1.8.2.1.506.gbce9ff0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author