Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/7] _git: Add missing column.* config variables
- X-seq: zsh-workers 31853
- From: Øystein Walle <oystwa@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 1/7] _git: Add missing column.* config variables
- Date: Sun, 20 Oct 2013 19:40:59 +0200
- Cc: Øystein Walle <oystwa@xxxxxxxxx>
- 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==
- In-reply-to: <cover.1382290245.git.oystwa@gmail.com>
- In-reply-to: <cover.1382290245.git.oystwa@gmail.com>
- 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
- References: <cover.1382290245.git.oystwa@gmail.com>
- References: <cover.1382290245.git.oystwa@gmail.com>
---
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author