From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18596 invoked by alias); 20 Oct 2013 17:45:33 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31856 Received: (qmail 4500 invoked from network); 20 Oct 2013 17:45:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:mime-version:content-type :content-transfer-encoding; bh=3+ARqDDMf/q9WZMmXdeu3Ee5XTwv8qhYRzdhafrMAwM=; b=weu9v+rdCNMTrkVFRAhR/Up0ddvZ/sZo7FynElB3VtBxUAzEXiNiyS4ja4AmJls5Iy enlzTMWOcAfPfxsG9zoXUu6/9hdnUIHcjvv571got1ubRmSp2uOoE57VgFUiQZ7L2FFS M2+QBLERUpMf7RZSxln7vq1ZNR+Rwe3jNzfV7/4Myfnn9yBHYvydI7JO04BTeoOJIHcH j2Yg20g830ktzeP2clUvuWNgKomSBS/wkZJHw99qSj6JdwFnEUNRB5X6n6UtHhuXibFI WVa0ajtXW9jZru7M2ezTVccnR0UuR6DeB+7lByKU1ks85ryu6N4jg/U33nM+TL81G4jc tXQg== X-Received: by 10.112.198.39 with SMTP id iz7mr10201277lbc.24.1382291115253; Sun, 20 Oct 2013 10:45:15 -0700 (PDT) From: =?UTF-8?q?=C3=98ystein=20Walle?= To: zsh-workers@zsh.org Cc: m0viefreak Subject: [PATCH 6/7] _git: fix a few "undocumented" options Date: Sun, 20 Oct 2013 19:41:04 +0200 Message-Id: <7d721ce7fb6cc07b45d898a83e6f2b0d9e7a7eb7.1382290245.git.oystwa@gmail.com> X-Mailer: git-send-email 1.8.4.1.516.g1d25dd4 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: m0viefreak 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