1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-01 20:11:06 +01:00

31861: _git: Add git-clean -i/--interactive support

- Add -i and --interactive to _git-clean()
 - Add column.clean configuration variable
This commit is contained in:
Øystein Walle 2013-10-20 19:43:29 +02:00 committed by Frank Terbeck
parent 7a37568b8c
commit e91d90125b
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-10-21 Øystein Walle <oystwa@gmail.com>
* 31861: Completion/Unix/Command/_git: _git: Add git-clean
-i/--interactive support
2013-10-21 m0viefreak <m0viefreak.cm@googlemail.com>
* 31856: Completion/Unix/Command/_git: _git: fix a few

View file

@ -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'