Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _git autocomplete typos
- X-seq: zsh-workers 41808
- From: Noah Pendleton <noah.pendleton@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: _git autocomplete typos
- Date: Wed, 4 Oct 2017 12:37:20 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YHmZawbFi50sjYANt/dVRi2Q3t/4iAekYzV/Wg3TPv0=; b=vX6yWf5r0FIAr/ZUN2nJvxx7CazZMIKqbk4HnlE/fJzjpGbVC3+N4ARvriyd/RK8co ubu4fFq875qTRUr2aYvIfEorBVe6eJXR1a6Y6QYx9bn3SaYUendu4QmlTM+oULJiZpdw aL3vLcxtELP5UsLm1drcSdOgIKAGQpO/SrcvQkCB82AcmAwvuBBB5yfy6OyHxVl3vkfv L7vQHOiWqpOzhZt7iza/Dr6H7i6XF0B5bVHg+2L+HzbhQaPWZK+tx7R1RxwuYxdH8njD WHCjPi4XdEy6fr7r9HMYtieRNOTgSTmdxnpQWj9ib8YmARA+u416TfuBL05VwG6uzqle k4Nw==
- 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
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 26554de05..d4375ce78 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -519,11 +519,11 @@ _git-cherry-pick () {
'--allow-empty[preserve initially empty commits]' \
'--allow-empty-message[allow replaying a commit with an empty message]' \
'--keep-redundant-commits[keep cherry-picked commits that will become empty]' \
- '(-e --edit --ff)'{-e,--edit}'[edit commit before committing the revert]' \
+ '(-e --edit --ff)'{-e,--edit}'[edit commit before committing the cherry-pick]' \
'(--ff)-x[append information about what commit was cherry-picked]' \
'(-m --mainline)'{-m+,--mainline=}'[specify mainline when cherry-picking a merge commit]:parent number' \
'--rerere-autoupdate[update index with reused conflict resolution if possible]' \
- '(-n --no-commit --ff)'{-n,--no-commit}'[do not make the actually commit]' \
+ '(-n --no-commit --ff)'{-n,--no-commit}'[do not make the actual commit]' \
'(-s --signoff --ff)'{-s,--signoff}'[add Signed-off-by line at the end of the commit message]' \
'(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=-}'[GPG-sign the commit]::key id' \
"(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[don't GPG-sign the commit]" \
@@ -2156,7 +2156,7 @@ __git_config_value () {
# Helper to _git-config(). May be called by other functions, too, provided
# that The caller has set $line, $state, and $opt_args as _git-config() would
# set them:
-#
+#
# - set $line[1] to the option name being completed (even if completing an
# option value).
# - set $opt_args to git-config(1) options, as set by _arguments in
@@ -2682,7 +2682,7 @@ __git_config_option-or-value () {
for key in $git_present_options ; do
if (( ${+git_options[(r)(#i)${(b)key}:*]} )); then
# $key is already in git_options
- continue
+ continue
elif (( ${+sections_that_permit_arbitrary_subsection_names[(r)${(b)key%%.*}]} )); then
if [[ $key == *.*.* ]]; then
# If $key isn't an instance of a known foo.*.bar:baz $git_options entry...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author