* PATCH: _git autocomplete typos
@ 2017-10-04 16:37 Noah Pendleton
2017-10-04 22:08 ` Daniel Shahaf
0 siblings, 1 reply; 2+ messages in thread
From: Noah Pendleton @ 2017-10-04 16:37 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #1.2: Type: text/html, Size: 26 bytes --]
[-- Attachment #2: _git.patch --]
[-- Type: text/x-patch, Size: 2152 bytes --]
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: _git autocomplete typos
2017-10-04 16:37 PATCH: _git autocomplete typos Noah Pendleton
@ 2017-10-04 22:08 ` Daniel Shahaf
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Shahaf @ 2017-10-04 22:08 UTC (permalink / raw)
To: Noah Pendleton, zsh-workers
Noah Pendleton wrote on Wed, 04 Oct 2017 12:37 -0400:
> + _git.patch
Committed without the whitespace hunks. Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-04 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-04 16:37 PATCH: _git autocomplete typos Noah Pendleton
2017-10-04 22:08 ` Daniel Shahaf
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).