From: "Øystein Walle" <oystwa@gmail.com>
To: zsh-workers@zsh.org
Cc: m0viefreak <m0viefreak.cm@googlemail.com>
Subject: [PATCH 6/7] _git: fix a few "undocumented" options
Date: Sun, 20 Oct 2013 19:41:04 +0200 [thread overview]
Message-ID: <7d721ce7fb6cc07b45d898a83e6f2b0d9e7a7eb7.1382290245.git.oystwa@gmail.com> (raw)
In-Reply-To: <cover.1382290245.git.oystwa@gmail.com>
In-Reply-To: <cover.1382290245.git.oystwa@gmail.com>
From: m0viefreak <m0viefreak.cm@googlemail.com>
commit: '--null' is documented
relink: '-h,--help' are never documented for subcommands but always exist
verify-tag: '-v,--verbose' are documented with updated description
diff: '--cumulative' is deprecated -> remove
---
Completion/Unix/Command/_git | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index a75ce5c..6f631bc 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -624,7 +624,6 @@ _git-commit () {
reset_author_opt='(--author)--reset-author[make committer the author of the commit]'
fi
- # TODO: --null is an undocumented alias.
# TODO: --interactive isn’t explicitly listed in the documentation.
_arguments -w -S -s \
'(-a --all --interactive -o --only -i --include *)'{-a,--all}'[stage all modified and deleted paths]' \
@@ -2978,10 +2977,9 @@ _git-reflog () {
(( $+functions[_git-relink] )) ||
_git-relink () {
- # TODO: --help is undocumented.
_arguments \
'--safe[stop if two objects with the same hash exist but have different sizes]' \
- '--help[display help]' \
+ '(-)'{-h,--help}'[display usage information]' \
': :_directories' \
': :_directories' \
'*: :_directories'
@@ -3419,9 +3417,8 @@ _git-show-branch () {
(( $+functions[_git-verify-tag] )) ||
_git-verify-tag () {
- # TODO: -v and --verbose are undocumented.
_arguments -w -S -s \
- '(-v --verbose)'{-v,--verbose}'[output additional information]' \
+ '(-v --verbose)'{-v,--verbose}'[print the contents of the tag object before validating it]' \
'*: :__git_tags'
}
@@ -5960,8 +5957,6 @@ __git_setup_diff_options () {
'(-0 -1 -2 -3 --base --ours --theirs -c --cc --no-index)-0[omit diff output for unmerged entries]'
'(-0 -1 -2 -3 --base --ours --theirs -c --cc --no-index)'{-c,--cc}'[compare "our branch", "their branch" and working tree files]'
- # TODO: --cumulative is undocumented.
- '--cumulative[undocumented]'
# TODO: --output is undocumented.
'--output[undocumented]:undocumented')
}
--
1.8.4.1.516.g1d25dd4
next prev parent reply other threads:[~2013-10-20 17:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-20 17:40 [PATCH 0/7] Various fixes to Git completion Øystein Walle
2013-10-20 17:40 ` [PATCH 1/7] _git: Add missing column.* config variables Øystein Walle
2013-10-20 17:41 ` [PATCH 2/7] _git: Make git-show accept diff arguments Øystein Walle
2015-05-08 14:46 ` [PATCH 1/2] completion: git: split diff options for stages (--theirs, --ours etc) Daniel Hahler
2015-05-08 14:46 ` [PATCH 2/2] completion: git: do not add diff options twice Daniel Hahler
2015-05-16 22:55 ` [PATCH 1/2] completion: git: split diff options for stages (--theirs, --ours etc) Daniel Shahaf
2013-10-20 17:41 ` [PATCH 3/7] _git: re-order the last two git-blame arguments Øystein Walle
2013-10-20 17:41 ` [PATCH 4/7] _git: Remove unsupported -q option from diff options Øystein Walle
2013-10-20 17:41 ` [PATCH 5/7] _git: fix wrong default value Øystein Walle
2013-10-20 17:41 ` Øystein Walle [this message]
2013-10-20 17:41 ` [PATCH 7/7] _git: revert: add '-e,--edit' Øystein Walle
2013-10-21 10:28 ` [PATCH 0/7] Various fixes to Git completion Frank Terbeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d721ce7fb6cc07b45d898a83e6f2b0d9e7a7eb7.1382290245.git.oystwa@gmail.com \
--to=oystwa@gmail.com \
--cc=m0viefreak.cm@googlemail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).