mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
N.J.Mann: users/12420: completion for cvs commit -f
This commit is contained in:
parent
b24d545294
commit
298eb1a82c
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* "N.J. Mann" <njm@njm.f2s.com>: users/12420:
|
||||
Completion/Unix/Command/_cvs: completion for cvs commit -f.
|
||||
|
||||
2008-01-10 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* users/12412: Src/builtin.c, Src/parse.c, Test/C02cond.ztst:
|
||||
|
|
|
@ -170,7 +170,16 @@ _cvs_commit() {
|
|||
'(-F)-m+[message]:message:_cvs_m' \
|
||||
'(-m)-F+[message file]:log message file:_files' \
|
||||
'-r+[specify revision]:tag:_cvs_revisions' \
|
||||
'*:modified file:_cvs_files_modified'
|
||||
'*:modified file:_cvs_commit_arg'
|
||||
}
|
||||
|
||||
(( $+functions[_cvs_commit_arg] )) ||
|
||||
_cvs_commit_arg() {
|
||||
if (( $+opt_args[-f] )); then
|
||||
_cvs_files
|
||||
else
|
||||
_cvs_files_modified
|
||||
fi
|
||||
}
|
||||
|
||||
(( $+functions[_cvs_diff] )) ||
|
||||
|
|
Loading…
Reference in a new issue