1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 17:01:19 +02:00

17211: respect $CVSIGNORE.

This commit is contained in:
Clint Adams 2002-05-23 06:23:34 +00:00
parent 3bd0b68bfb
commit c08e0636e8
2 changed files with 6 additions and 0 deletions

@ -1,3 +1,8 @@
2002-05-23 Clint Adams <clint@zsh.org>
* Matt Zimmerman: 17211: Completion/Unix/Command/_cvs:
respect $CVSIGNORE.
2002-05-21 Peter Stephenson <pws@csr.com>
* 17201: Doc/Zsh/mod_tcp.yo: add example use of ztcp.

@ -965,6 +965,7 @@ _cvs_nonentried_files () {
)
[[ -r ~/.cvsignore ]] && omitpats=($omitpats $(<~/.cvsignore))
[[ -r ${realdir}.cvsignore ]] && omitpats=($omitpats $(<${realdir}.cvsignore))
omitpats=($omitpats $CVSIGNORE)
_path_files -g "*~(*/|)(${(j:|:)~omitpats})(D.)"
}