about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-24 07:17:33 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-29 06:41:21 +0000
commita74294edbeb1c0cf9b48e6414559f57ad76dc017 (patch)
treef0191bc046ae04eaebcef15c130e36b837237ace
parent1955cceec79107b6571646b695d334df8e4a6cd8 (diff)
downloadzsh-a74294edbeb1c0cf9b48e6414559f57ad76dc017.tar.gz
zsh-a74294edbeb1c0cf9b48e6414559f57ad76dc017.tar.xz
zsh-a74294edbeb1c0cf9b48e6414559f57ad76dc017.zip
unposted: _git-config: Fix user.email completion to complete only bare email addresses.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c0d3673c..be0570778 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-29  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Completion/Unix/Command/_git: _git-config: Fix
+	user.email completion to complete only bare email addresses.
+
 2016-11-28  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 40011: Completion/Base/Core/_main_complete,
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 8fdca2898..283c50cc0 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2613,7 +2613,7 @@ __git_config_option-or-value () {
     uploadarchive.allowUnreachable:'allow git-upload-archive to accept an archive requests that ask for unreachable objects::->bool:false'
     'url.*.insteadOf:string to start URLs with:prefix:->string'
     'url.*.pushInsteadOf:string to start URLs to push to with:prefix:->string'
-    user.email:'email address used for commits::_email_addresses'
+    user.email:'email address used for commits::_email_addresses -c'
     user.name:'full name used for commits:name:->string'
     user.signingkey:'default GPG key to use when creating signed tags::__git_gpg_secret_keys'
     web.browser:'web browser to use::__git_browsers')