zsh-workers
 help / color / mirror / code / Atom feed
From: "Øystein Walle" <oystwa@gmail.com>
To: zsh-workers@zsh.org
Cc: "Øystein Walle" <oystwa@gmail.com>
Subject: [PATCH 1/6] _git: Add git-clean -i/--interactive support
Date: Sun, 20 Oct 2013 19:43:29 +0200	[thread overview]
Message-ID: <d6905a6eda3ab8bd81489fd9dde957df93265bfb.1382290234.git.oystwa@gmail.com> (raw)
In-Reply-To: <cover.1382290234.git.oystwa@gmail.com>
In-Reply-To: <cover.1382290234.git.oystwa@gmail.com>

 - Add -i and --interactive to _git-clean()
 - Add column.clean configuration variable
---
 Completion/Unix/Command/_git | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index db1ff2f..25f925f 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -508,6 +508,7 @@ _git-clean () {
   _arguments -w -C -S -s \
     '-d[also remove untracked directories]' \
     '(-f --force)'{-f,--force}'[required when clean.requireForce is true (default)]' \
+    '(-i --interactive)'{-i,--interactive}'[show what would be done and clean files interactively]' \
     '(-n --dry-run)'{-n,--dry-run}'[only show what would and what would not be removed]' \
     '(-q --quiet)'{-q,--quiet}'[only report errors]' \
     '*'{-e,--exclude=}'[skip files matching specified pattern]:pattern' \
@@ -1803,6 +1804,7 @@ _git-config () {
     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.clean:'specify the layout when listing items in git clean -i::->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'
-- 
1.8.4.1.516.g1d25dd4


  reply	other threads:[~2013-10-20 17:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20 17:43 [PATCH 0/6] Completion updates for Git 1.8.4.1 Øystein Walle
2013-10-20 17:43 ` Øystein Walle [this message]
2013-10-20 17:43 ` [PATCH 2/6] _git: Add new arguments introduced in Git v1.8.4 Øystein Walle
2013-10-20 17:43 ` [PATCH 3/6] _git: Add status.short and status.branch Øystein Walle
2013-10-20 17:43 ` [PATCH 4/6] _git: Reword --heads to match new meaning Øystein Walle
2013-10-20 17:43 ` [PATCH 5/6] _git: Add two sub-comamnds introduced in v1.8.4 Øystein Walle
2013-10-20 17:43 ` [PATCH 6/6] _git: Make --batch(-check) accept an argument Øystein Walle

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=d6905a6eda3ab8bd81489fd9dde957df93265bfb.1382290234.git.oystwa@gmail.com \
    --to=oystwa@gmail.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).