From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2990 invoked by alias); 20 Oct 2013 17:45:24 -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: 31853 Received: (qmail 740 invoked from network); 20 Oct 2013 17:45:09 -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; bh=w9WTAw7TIEXJj+CRLFkBHp7w55V6Xp9nLtiOdFq3LaE=; b=RIj8OTzf3iN0NKjgt3XzWq1J8s5950xRWwn/NSl97xHehKinLcw4AGk8RKZhF+FJkI nHKBvaH3pDIF8+ZAGzfZUxAFJ1PdKdLesxCjPC+D263As1wO04ZJYEue6pznK/y6tt69 gP6JB+MAab4+N6i1g9VT930y8T1XDSWFgit49Xt516s4/kZLZJmYvlJzwNKY8Gvfauow KEm5pfcA+xdXnrGzgEZByWqi883fnZM6dZrOP/kvoJ/1dIUgL4uqjVbmPg/UygCin3CG YMVrm3ueJiq9KAAtP6PHrgaAs7uJBlNDd/cePyjOuTlkC80k4zq4fNFrhTSFMTLluHWR uoTg== X-Received: by 10.112.158.225 with SMTP id wx1mr1036448lbb.37.1382291106483; Sun, 20 Oct 2013 10:45:06 -0700 (PDT) From: =?UTF-8?q?=C3=98ystein=20Walle?= To: zsh-workers@zsh.org Cc: =?UTF-8?q?=C3=98ystein=20Walle?= Subject: [PATCH 1/7] _git: Add missing column.* config variables Date: Sun, 20 Oct 2013 19:40:59 +0200 Message-Id: <87ac1d265f9a950804ee439143cde954b6f17548.1382290245.git.oystwa@gmail.com> X-Mailer: git-send-email 1.8.4.1.516.g1d25dd4 In-Reply-To: References: In-Reply-To: References: --- Completion/Unix/Command/_git | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index d6f44e6..620d2c9 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1800,6 +1800,10 @@ _git-config () { blame.date:'date format to use in output::__git_date_formats:iso' 'branch.*.description:branch description:branch description:->string' cvsexportcommit.cvsdir:'the default location of the CVS checkout to use for the export:cvs export dir:_directories' + column.ui:'specify whether supported commands should output in columns.::->column:never' + column.branch:'specify whether to output branch listing in git branch in columns::->column:never' + column.status:'specify whether to output untracked files in git status in columns::->column:never' + column.tag:'specify whether to output tag listing in git tag in columns::->column:never' core.fileMode:'track changes to the executable bit of files::->bool:true' core.attributesfile:'look into this file for attributes in addition to .gitattributes:additional attributes file:_files' core.abbrev:'set the length object names are abbreviated to:length:->int:7' @@ -2374,6 +2378,7 @@ _git-config () { browser:'browser options' clean:'git clean options' color:'color options' + column:'column options' commit:'git commit options' diff:'diff options' difftool:'difftools' @@ -2541,6 +2546,15 @@ _git-config () { always:"always $parts[2]" \ {auto,true,yes,on}:$parts[2] && ret=0 ;; + (column) + __git_config_values -- "$current" "$parts[5]" \ + always:'always show in columns' \ + never:'never show in columns' \ + auto:'show in columns if the output is to the terminal' \ + column:'fill columns before rows (implies "always")' \ + row:'fill rows before columns (implies "akways")' \ + plain:'show in one column (implies "always")' && ret=0 + ;; (commit.cleanup) __git_config_values -- "$current" "$parts[5]" \ strip:'remove both whitespace and commentary lines' \ -- 1.8.4.1.516.g1d25dd4